3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for (var $i=0; $i <= 100; $i++) { $email = "testing$i@dosalcubo.com"; $md5 = md5($email); $username = "testing$i"; $query = "INSERT INTO usuario VALUES(NULL,120,6,1,NULL,NULL,NULL,NULL,'${email}','${username}','${md5}','0000-00-00',0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2012-05-29 16:38:14',NULL,'0000-00-00 00:00:00','',NULL,'2012-11-21 15:07:40',NULL"; echo $query . "\n"; }
Output for 5.4.0 - 5.4.11
Parse error: syntax error, unexpected 'var' (T_VAR), expecting ';' in /in/9FJ1i on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.21
Parse error: syntax error, unexpected T_VAR, expecting ';' in /in/9FJ1i on line 3
Process exited with code 255.