3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(1,2); echo ($a)? 'pass' : 'fail'; echo addslashes(serialize(array('status'=>'failed')));
based on gX7ph
Output for 4.3.0 - 7.1.0
passa:1:{s:6:\"status\";s:6:\"failed\";}