Fixed that one.
https://bugs.php.net/patch-display.php?bug_id=55475&patch=final_patch_for_5_4_and_HEAD_v2&revision=latest
<https://bugs.php.net/patch-display.php?bug_id=55475&patch=final_patch_for_5_4_and_HEAD_v2&revision=latest>
The alternative patch was to use the argument to enable/disable
autoloader - which does not really solve the BC issues unfortunately.
The only discussion was to whether is_subclass_of should not support the
extra arg, since there was not strong opinions either way, it's probably
better to keep it simple and leave it the same as PHP5.3.
Regrds
Alan
On Tuesday, November 08, 2011 12:42 PM, Stas Malyshev wrote:
Hi!
Is_a has a patch attached to the bug. Tests pass etc.
I'm looking at bug 55475, there are two patches there:
is_a_5.4_alternative and final_patch_for_5_4_and_HEAD. Which one do
you mean?
The latter has:
- if (zend_lookup_class_ex(class_name, class_name_len, NULL, 0, &ce
TSRMLS_CC) == FAILURE) {
+ if (zend_lookup_class_ex(class_name, class_name_len, NULL, &ce
TSRMLS_CC) == FAILURE) {
which can't be right.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php