Last active
March 15, 2017 21:02
-
-
Save JarJak/0e767d0fd16ae9b488fbc6809fd99b57 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php > if (!1 instanceof DumbClass) echo 'lolphp'; | |
PHP Fatal error: instanceof expects an object instance, constant given in php shell code on line 1 | |
php > $a = 1; if (!($a instanceof DumbClass)) echo 'lolphp'; // DumbClass has not been declared but not even a notice is thrown | |
lolphp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment