3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo() { var_dump("A"); } $x = 0; $y = $x ? 12 : (unset)foo(); var_dump($y);
Output for 7.2.0
Deprecated: The (unset) cast is deprecated in /in/Fc2r3 on line 5 string(1) "A" NULL
Output for 4.3.0 - 7.1.10
string(1) "A" NULL