3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(random_bytes('4d'));
Output for 7.2.0
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "U�;P"
Output for 7.1.10
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "� a�"
Output for 7.1.7
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) ",�6"
Output for 7.1.6
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "�X��"
Output for 7.1.5
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "�PGJ"
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "�A�"
Output for 7.0.20
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "ZZ��"
Output for 7.0.6
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "�o"
Output for 7.0.5
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "�g"
Output for 7.0.4
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "� �h"
Output for 7.0.3
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "�%=#"
Output for 7.0.2
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "�T7"
Output for 7.0.1
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "e(`x"
Output for 7.0.0
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "8�+"
Output for 5.3.18 - 5.6.28
Fatal error: Call to undefined function random_bytes() in /in/W3OpZ on line 4
Process exited with code 255.