3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = max(array( 3, 4, null, null ) ); $b = max(array( null, null, null, null) ); var_dump($a); var_dump($b);
based on LNJ4V
Output for 4.3.0 - 7.1.0
int(4) NULL