3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php foreach(explode(PHP_EOL, 'log_0707 log_0708 log_0709 log_0710 log_0711 log_0712 log_0801 log_0802 log_0803 log_0804 log_0805 log_0806 log_0807 log_0808 log_0809 log_0810 log_0811 log_0812 log_0901 log_0902 log_0903 log_0904 log_0905 log_0906 log_0907 log_0908 log_0909 log_0910 log_0911 log_0912 log_1001 log_1002 log_1003 log_1004 log_1005 log_1006 log_1007 log_1008 log_1009 log_1010 log_1011 log_1012 log_1101 log_1102 log_1103 log_1104 log_1105 log_1106 log_1107 log_1108 log_1109 log_1110 log_1111 log_1112') as $tbl) { echo 'drop table '$tbl . ';' . PHP_EOL; }
Output for 5.4.0 - 5.4.11
Parse error: syntax error, unexpected '$tbl' (T_VARIABLE), expecting ',' or ';' in /in/ArNiu on line 57
Process exited with code 255.
Output for 5.3.0 - 5.3.21
Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /in/ArNiu on line 57
Process exited with code 255.