3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php random_bytes();
based on 9a8iR
Output for 7.1.0 - 7.2.0
Fatal error: Uncaught ArgumentCountError: random_bytes() expects exactly 1 parameter, 0 given in /in/DEpXv:3 Stack trace: #0 /in/DEpXv(3): random_bytes() #1 {main} thrown in /in/DEpXv on line 3
Process exited with code 255.
Output for 7.0.0 - 7.0.20
Fatal error: Uncaught TypeError: random_bytes() expects exactly 1 parameter, 0 given in /in/DEpXv:3 Stack trace: #0 /in/DEpXv(3): random_bytes() #1 {main} thrown in /in/DEpXv on line 3
Process exited with code 255.
Output for 5.3.20 - 5.6.28
Fatal error: Call to undefined function random_bytes() in /in/DEpXv on line 3
Process exited with code 255.