ID:          41261
 Updated by:  [EMAIL PROTECTED]
 Reported By: rares dot marian at gmail dot com
-Status:      Open
+Status:      Bogus
 Bug Type:    Documentation problem
 PHP Version: Irrelevant
 New Comment:

"instanceof is used to determine whether a PHP variable is an
instantiated object of a certain class". So $a must be variable.


Previous Comments:
------------------------------------------------------------------------

[2007-05-02 15:46:59] rares dot marian at gmail dot com

Description:
------------
The instanceof operator documentation does not simply state whether $a
in the phrase "$a instanceof $b" can be a string. It is stated that $b
can be string however.

In fact none of the operators have any syntax documentation. I'd be
glad to contribute by documenting the operators.

It would be something along the lines of: object instanceof mixed.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41261&edit=1

Reply via email to