Skip to content

Commit 2025daf

Browse files
committed
Fix wrong php to lower method
Fixes #540 Relates Imagick/imagick#690
1 parent 2010c22 commit 2025daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v8js_object_export.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ 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-
php_strtolower(lower, name_len);
678+
zend_str_tolower(lower, name_len);
679679
method_name = zend_string_init(lower, name_len, 0);
680680

681681
// toString() -> __tostring()

0 commit comments

Comments
 (0)