Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 48f0296

Browse files
committed
adapt code to handle php 8.4 too (based on @JoshuaBehrens & @rbro work)
cf 2025daf Signed-off-by: Romain Gautier <mail@romain.sh>
1 parent 5234490 commit 48f0296

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎v8js_object_export.cc‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,11 @@ v8::Local<v8::Value> v8js_named_property_callback(v8::Isolate *isolate, v8::Loca
675675
ce = scope = object->ce;
676676

677677
/* First, check the (case-insensitive) method table */
678+
#if PHP_VERSION_ID < 80400
678679
php_strtolower(lower, name_len);
680+
#else
681+
zend_str_tolower(lower, name_len);
682+
#endif
679683
method_name = zend_string_init(lower, name_len, 0);
680684

681685
// toString() -> __tostring()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /