3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $samples=array( array('a1','a2'), array('b1','b2'), array('c1','c2') ); for($i=0, i<count($samples), i++){ $names[] = array_column($samples, i); } print_r($names);
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected '++' (T_INC), expecting ';' in /in/dHAvp on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_INC, expecting ';' in /in/dHAvp on line 7
Process exited with code 255.