|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-04-09 07:35 UTC] colder@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 23:00:02 2025 UTC |
Description: ------------ PHP is a case sensitive language, but instanceOf is case insensitive. actual php version is 5.2.4, but there is not such version number in drop down list Reproduce code: --------------- <?php class test {} $t = new test(); $r = $t instanceOf TEST; var_dump($r); ?> Expected result: ---------------- bool(false) Actual result: -------------- bool(true)