3v4l.org

run code in 500+ PHP versions simultaneously
<?php $imageType=".jpg" var_dump($imageType == (".jpg" || ".png"));
Output for 8.3.5
Parse error: syntax error, unexpected identifier "var_dump" in /in/FlOvf on line 4
Process exited with code 255.
Output for 7.1.15
Parse error: syntax error, unexpected 'var_dump' (T_STRING) in /in/FlOvf on line 4
Process exited with code 255.

preferences:
42.51 ms | 492 KiB | 3 Q