3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = null; $test--; var_dump($test); --$test; var_dump($test); $test = $test - 1; var_dump($test);
based on 6vtHA
Output for 4.3.0 - 7.2.0
NULL NULL int(-1)