3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(max(null, -1), min(null, 0));
Output for 4.3.0 - 7.1.0, 7.1.6 - 7.3.0rc4
int(-1) NULL
Output for 7.1.5

Process exited with code 137.