3v4l.org

run code in 300+ PHP versions simultaneously
<?php $set=1283 $standard_sets=array(); $standard_sets[] = 1000065; // Born of the Gods $standard_sets[] = 1283; // Theros $standard_sets[] = 1223; // Magic 2014 $standard_sets[] = 1146; // Dragons Maze $standard_sets[] = 966; // Return to ravnica $standard_sets[] = 975; // Gatecrash echo (in_array($set,$standard_sets)
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected '$standard_sets' (T_VARIABLE) in /in/vn0I4 on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE in /in/vn0I4 on line 3
Process exited with code 255.

preferences:
182 ms | 1386 KiB | 62 Q