php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch php-5-3-use-a-null-as-array-trigger-notice for Scripting Engine problem Bug #54556Patch version 2011-07-25 12:10 UTC Return to Bug #54556 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions: 2011-07-26 11:12 UTC | 2011-07-25 12:10 UTC | 2011-07-25 09:29 UTCDeveloper: laruence@php.netIndex: Zend/zend_execute.c Index: zend_execute.c =================================================================== --- Zend/zend_execute.c (revision 313688) +++ Zend/zend_execute.c (working copy) --- zend_execute.c (revision 313645) +++ zend_execute.c (working copy) @@ -1049,6 +1049,7 @@ break; case IS_NULL: + zend_error(E_NOTICE, "Attempt to use NULL as array"); if (result) { AI_SET_PTR(result->var, EG(uninitialized_zval_ptr)); PZVAL_LOCK(EG(uninitialized_zval_ptr)); break; case IS_NULL: + zend_error(E_NOTICE, "Attempt to use NULL as array"); if (result) { AI_SET_PTR(result->var, EG(uninitialized_zval_ptr)); PZVAL_LOCK(EG(uninitialized_zval_ptr)); |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Fri Nov 08 18:01:32 2024 UTC |