3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array( array( 'week' => 26 '#orders_CA' => 0 'cost_CA' => 0 '#orders_US' => 3 'cost_US' => 18.99 '#orders_INTERNATIONAL' => 0 'cost_INTERNATIONAL' => 0 ), array( 'week' => 26 '#orders_CA' => 0 'cost_CA' => 0 '#orders_US' => 0 'cost_US' => 0 '#orders_INTERNATIONAL' => 22 'cost_INTERNATIONAL' => 32 ), ); array_reduce($a, 'array_merge', $a);
Output for 5.4.0 - 5.4.30
Parse error: syntax error, unexpected ''#orders_CA'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /in/tRfZL on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /in/tRfZL on line 5
Process exited with code 255.