3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $anArray = array(array('black')); $anotherArray = array(array('white')); var_dump($anArray == $anotherArray); //var_dump((is_array($anArray) && is_array($anotherArray) && array_diff($anArray $anotherArray) == array_diff($anotherArray, $anArray)));
based on SIhAF
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
bool(false)
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/rEuXU on line 8
Process exited with code 255.