3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array( array('a' => 'testA', 'b' => 'testB'), array('a' =>'testC', 'b' => 'testD') ); $key = array_keys($test, array('a' => 'testA', 'b' => 'testB'); echo $test[$key];
Output for 5.3.23, 5.4.13
Parse error: syntax error, unexpected ';' in /in/NXJnK on line 9
Process exited with code 255.
Output for 5.3.0 - 5.3.22, 5.4.0 - 5.4.12
Parse error: syntax error, unexpected ';' in peo1v on line 9
Process exited with code 255.

preferences:
173.38 ms | 1387 KiB | 45 Q