3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $term_ids_weirdstuff = array( 0 => array('tid' => 1), 1 => array('tid' => 2), 2 => array('tid' => 3), ); $term_ids=array(); foreach( $term_ids_weirdstuff as $dt)$term_ids[]=$dt['tid']; $dt[]=$dt['tid']; }); print_r($term_ids); ?>
Output for 5.3.0 - 5.5.0
Parse error: syntax error, unexpected '}' in /in/U8vvc on line 13
Process exited with code 255.