|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
|
Thank you for your help!
If the status of the bug report you submitted changes, you will be notified.
You may return here and check the status or update your report at any time. The URL for your bug report is: https://bugs.php.net/bug.php?id=33211.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-06-01 13:33 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 15 16:00:01 2025 UTC |
Description: ------------ Only after encoding in ZendSafeGuard-3.1.0b-Windows-i386.exe: is_array() return erroneous result. Reproduce code: --------------- <? function test() { $GLOBALS[$var]=unserialize($buf); // worked, ok echo gettype($GLOBALS[$var]); // print "array", ok vad_dump($GLOBALS[$var]); // print array, ok if (is_array($GLOBALS[$var])) ... // FALSE - BUG } ?> Expected result: ---------------- php5 + is_array() + zendencoder must be work. Actual result: -------------- in accord manual http://php.net/is_array