|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-03-05 21:20 UTC] chris at summit-tech dot ca
-Status: Open
+Status: Closed
[2021-03-05 21:20 UTC] chris at summit-tech dot ca
[2021-03-05 21:21 UTC] daverandom@php.net
-Status: Closed
+Status: Open
[2021-03-05 21:21 UTC] daverandom@php.net
[2021-03-05 21:21 UTC] daverandom@php.net
-Status: Open
+Status: Not a bug
[2021-03-05 21:21 UTC] daverandom@php.net
[2021-03-05 23:21 UTC] chris at summit-tech dot ca
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 08 10:00:01 2026 UTC |
Description: ------------ This function has been rendered utterly useless as passing it some non-array objects such as stdClass results in a ridiculous error: Fatal error: Uncaught Error: Cannot use object of type stdClass as array Test script: --------------- $test->bla = "bla"; //Forcibly makes an stdClass obj if (is_array($test)){ echo "This doesn't run"; } Expected result: ---------------- is_array should return false and not stupidly throw a fatal Actual result: -------------- fatal error that defies the purpose of this function's entire existence