3v4l.org

run code in 300+ PHP versions simultaneously
<?php class TRUE { const int = 'This is the truest of the integers'; } var_dump(TRUE::int);
Output for 7.1.25 - 7.1.28, 7.2.0 - 7.2.17, 7.3.0 - 7.3.4
Fatal error: Cannot use 'TRUE' as class name as it is reserved in /in/3VPfg on line 3
Process exited with code 255.

preferences:
166.66 ms | 1399 KiB | 34 Q