![]() |
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch php-5-3-splfixedarray-fromarray-should-return-call-scope-instance for SPL related Bug #55128Patch version 2011-07-26 05:35 UTC Return to Bug #55128 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions: 2011-07-26 09:57 UTC | 2011-07-26 05:35 UTCDeveloper: laruence@php.netLine 10 (now 10), was 13 lines, now 4 lines + object_init_ex(return_value, EG(called_scope)? EG(called_scope) : spl_ce_SplFixedArray); Z_TYPE_P(return_value) = IS_OBJECT; intern = (spl_fixedarray_object *)zend_object_store_get_object(return_value TSRMLS_CC); @@ -1058,7 +1058,7 @@ ZEND_END_ARG_INFO() static zend_function_entry spl_funcs_SplFixedArray[] = { /* {{{ */ - SPL_ME(SplFixedArray, __construct, arginfo_splfixedarray_construct,ZEND_ACC_PUBLIC) + SPL_ME(SplFixedArray, __construct, arginfo_splfixedarray_construct,ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) SPL_ME(SplFixedArray, count, arginfo_splfixedarray_void, ZEND_ACC_PUBLIC) SPL_ME(SplFixedArray, toArray, arginfo_splfixedarray_void, ZEND_ACC_PUBLIC) SPL_ME(SplFixedArray, fromArray, arginfo_fixedarray_fromArray, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) |
![]() All rights reserved. |
Last updated: Sat Mar 22 07:01:28 2025 UTC |