3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $coucou = 2; if($coucou = returnNumber()) { echo $coucou; } var_dump($coucou); function returnNumber() { return 0; }
based on ioLsv
Output for 5.3.19 - 7.3.0beta1
int(0)