mirror of
https://github.com/phpv8/v8js.git
synced 2025-01-18 15:01:54 +00:00
Fix wrong php to lower method
Fixes #540 Relates https://github.com/Imagick/imagick/pull/690/
This commit is contained in:
parent
2010c22a49
commit
2025daf049
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user