3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo substr(0, 8, implode('', shuffle(array_merge(range(0,9), range('a','z'), range('A','Z')))));
Output for 7.0.0 - 7.1.0
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.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.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 - 5.0.4, 5.1.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.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 />