run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(TRUE,FALSE,NULL); // they have data types and what has data types? variables and constants but keywords are all text function true(){ return 'The truth ...'; } function false(){ return 'Do not be false...'; } function null(){ return 't\'is nothing at all...'; } echo true(); echo false(); echo null(); // if TRUE, FALSE and NULL are keywords then these functions will not execute.
based on A24SQ
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.2.0
bool(true) bool(false) NULL The truth ...Do not be false...t'is nothing at all...
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/V3H2n on line 15
Process exited with code 255.