|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
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 18: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