3v4l.org

run code in 300+ PHP versions simultaneously
<?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/3oEe3 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/3oEe3 on line 3
Process exited with code 255.

preferences:
158.22 ms | 1399 KiB | 41 Q