3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo substr(0, 8, implode('', shuffle(array_merge(range(0,9), range('a','z'), range('A','Z')))));
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.13, 7.3.0 - 7.3.1
Notice: Only variables should be passed by reference in /in/kIgff on line 3 Warning: implode(): Invalid arguments passed in /in/kIgff on line 3
Output for 5.5.0 - 5.5.35, 5.6.0 - 5.6.28
Strict Standards: Only variables should be passed by reference in /in/kIgff on line 3 Warning: implode(): Invalid arguments passed in /in/kIgff on line 3
Output for 5.2.5 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45
Warning: implode(): Invalid arguments passed in /in/kIgff on line 3
Output for 5.2.3 - 5.2.4
Warning: implode(): Bad arguments. in /in/kIgff on line 3
Output for 4.4.3 - 4.4.9, 5.0.0 - 5.0.4, 5.1.0 - 5.1.6, 5.2.0 - 5.2.2
<br /> <b>Warning</b>: implode() [<a href='function.implode'>function.implode</a>]: Bad arguments. in <b>/in/kIgff</b> on line <b>3</b><br />
Output for 5.0.5
<br /> <b>Fatal error</b>: Only variables can be passed by reference in <b>/in/kIgff</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.2
<br /> <b>Warning</b>: implode(): Bad arguments. in <b>/in/kIgff</b> on line <b>3</b><br />
Output for 4.3.0 - 4.3.1
<br /> <b>Warning</b>: implode() [<a href='http://www.php.net/function.implode'>function.implode</a>]: Bad arguments. in <b>/in/kIgff</b> on line <b>3</b><br />

preferences:
169 ms | 401 KiB | 221 Q