3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = new stdClass; $arr->uid = 1; $arr->status = "complete": $arr->order_id = 430; echo "Proof that the output is identical:\n"; print_r($arr); echo "\n"; echo "Order ID is: " . $arr->order_id;
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.30, 5.5.0 - 5.5.14
Parse error: syntax error, unexpected ':' in /in/VeOSB on line 5
Process exited with code 255.

preferences:
190.7 ms | 1395 KiB | 82 Q