]> granicus.if.org Git - php/commit
Make the check case sensitive, and since we can only have a constructor that matches...
authorScott MacVicar <scottmac@php.net>
Fri, 19 Jun 2009 03:29:47 +0000 (03:29 +0000)
committerScott MacVicar <scottmac@php.net>
Fri, 19 Jun 2009 03:29:47 +0000 (03:29 +0000)
commitd976be4bda9c3af7000b1ee7af0e2026bef7a0a4
treeb8b3470a6fbd11999ecbd5b64e37904f5ffee50b
parente64f0795e10eb77784c89b6942b9e5bbf4db094d
Make the check case sensitive, and since we can only have a constructor that matches the class name or is __construct
its probably safe to just check for __. This means we can skip lowering the function_name, which is hard to be binary
safe sine we don't store the length.

If we just did a zend_hash_exists lookup we'd be fine since its stored lowercased already :)
Zend/tests/bug48215_2.phpt [new file with mode: 0644]
Zend/zend_object_handlers.c