#40714 [Com]: 'false instanceof string;' gives fun times.... NOT
| From: | judas dot iscariote at gmail dot com | Date: | Sun, 04 Mar 2007 04:08:19 +0000 |
| Subject: | #40714 [Com]: 'false instanceof string;' gives fun times.... NOT | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-109852@lists.php.net to get a copy of this message | ||
ID: 40714
Comment by: judas dot iscariote at gmail dot com
Reported By: pookey@php.net
Status: Open
Bug Type: Scripting Engine problem
Operating System: linux
PHP Version: 5.2.1
New Comment:
huh ? I get
./sapi/cli/php -r 'false instanceof string;'
PHP Fatal error: instanceof expects an object instance, constant given
in Command line code on line 1
Previous Comments:
------------------------------------------------------------------------
[2007-03-04 04:00:17] pookey@php.net
Description:
------------
# php -r 'false instanceof string;'
Fatal error: Invalid opcode 138/1/1. in Command line code on line 1
Not a great deal more to say about this bug, other than accept it's
stupid code anyway.
Reproduce code:
---------------
# php -r 'false instanceof string;'
Expected result:
----------------
no output
Actual result:
--------------
Fatal error: Invalid opcode 138/1/1. in Command line code on line 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40714&edit=1