Skip to content

Commit

Permalink
Fix wrong php to lower method
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaBehrens committed Oct 24, 2024
1 parent 2010c22 commit 2025daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v8js_object_export.cc
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ v8::Local<v8::Value> v8js_named_property_callback(v8::Isolate *isolate, v8::Loca
ce = scope = object->ce;

/* First, check the (case-insensitive) method table */
php_strtolower(lower, name_len);
zend_str_tolower(lower, name_len);
method_name = zend_string_init(lower, name_len, 0);

// toString() -> __tostring()
Expand Down

0 comments on commit 2025daf

Please sign in to comment.