3v4l.org

run code in 300+ PHP versions simultaneously
<?php $length = 8; substr(base_convert(md5(uniqid(rand(), true)), 16, 36), 1, $length)
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected end of file in /in/9DrdX on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/9DrdX on line 4
Process exited with code 255.

preferences:
186.02 ms | 1395 KiB | 65 Q