3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'asdfghjkl-1234567890'; for ($i = 0;$i < 1000;$++) { $alnum = str_replace('_', '', str_replace('-', '', $text)); ctype_alnum($alnum) === false); }
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected '++' (T_INC), expecting variable (T_VARIABLE) or '$' in /in/eG1gU on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_INC, expecting T_VARIABLE or '$' in /in/eG1gU on line 5
Process exited with code 255.

preferences:
190.17 ms | 1399 KiB | 66 Q