3v4l.org

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