3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = isset($result, $result->property, $result->f()); //this is definitely an expression, no questions $a = isset($result, $result->property, $result::c); //may be this one not an expression in PHP? What do I know? $a = isset($result, $result->property, $result->f()->a); //this one is also definitely an expression. But in PHP you never know.
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.6
Fatal error: Cannot use isset() on the result of an expression (you can use "null !== expression" instead) in /in/QtXnj on line 2
Process exited with code 255.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.30
Fatal error: Cannot use isset() on the result of a function call (you can use "null !== func()" instead) in /in/QtXnj on line 2
Process exited with code 255.
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45
Fatal error: Can't use method return value in write context in /in/QtXnj on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected '(', expecting ',' or ')' in /in/QtXnj on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1
Parse error: parse error, unexpected '(', expecting ',' or ')' in /in/QtXnj on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `','' or `')'' in /in/QtXnj on line 2
Process exited with code 255.

preferences:
308.14 ms | 1395 KiB | 232 Q