3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(random_bytes(1));
Output for 7.2.0
m
Output for 7.1.10
Output for 7.1.7
<
Output for 7.1.6
)
Output for 7.1.5
Output for 7.1.0

Output for 7.0.20
Output for 7.0.6
#
Output for 7.0.5
|
Output for 7.0.4
9
Output for 7.0.3
Output for 7.0.2

Output for 7.0.1
Output for 7.0.0
[
Output for 5.3.21 - 5.6.28
Fatal error: Call to undefined function random_bytes() in /in/SpoaM on line 3
Process exited with code 255.