3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(random_bytes('4d'));
Output for 7.3.1
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) " ��="
Output for 7.3.0
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "9���"
Output for 7.2.13
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "�>g�"
Output for 7.2.12
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "�QD�"
Output for 7.2.11
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "�A�M"
Output for 7.2.10
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "+�N"
Output for 7.2.9
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "ڈ��"
Output for 7.2.8
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "H�\�"
Output for 7.2.7
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) " �"
Output for 7.2.6
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "�t��"
Output for 7.2.5
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "��q"
Output for 7.2.4
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) ">$�y"
Output for 7.2.3
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "p�"
Output for 7.2.2
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) ":_��"
Output for 7.2.1
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "�M��"
Output for 7.2.0
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "J%��"
Output for 7.1.25
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "C z�"
Output for 7.1.20
Notice: A non well formed numeric value encountered in /in/W3OpZ on line 4 string(4) "��w�"
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.4.2 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Fatal error: Call to undefined function random_bytes() in /in/W3OpZ on line 4
Process exited with code 255.

preferences:
90.26 ms | 402 KiB | 106 Q