3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = Array ( 'cols' => 1, 'rows' => Array ( '1' => Array ( 'tot' => 1 'heading' => Array ( '1' => Array ( 'enable' => 'No' 'text' => '*' ) ) ) ), 'tabs' => Array ( '1' => Array ( '1' => Array ( 'tot' => 1 'heading' => Array ( '1' => 'Tab - 1' ) ) ) ) ); echo serialize($arr);
Output for 5.4.0 - 5.4.19
Parse error: syntax error, unexpected ''heading'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /in/37Mj9 on line 11
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /in/37Mj9 on line 11
Process exited with code 255.