3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bin = openssl_random_pseudo_bytes(16); $hex = bin2hex($bin); echo $hex; ?>
Output for 7.2.29 - 7.2.33, 7.3.16 - 7.3.33, 7.4.3 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Fatal error: Uncaught Error: Call to undefined function openssl_random_pseudo_bytes() in /in/VTi0B:2 Stack trace: #0 {main} thrown in /in/VTi0B on line 2
Process exited with code 255.
Output for 7.2.0
7507529cbb87a105fe8e995940d7383b
Output for 7.1.7
e48f84347659e99a1d1fdb3923499d1d
Output for 7.1.6
d35035b393cbbb69e220cdbf63c11cad
Output for 7.1.5
d2db303873f75d4b54c70cd972d6a86d
Output for 7.1.0
b4d3d88719fb67f0c09e73c7cab56310
Output for 7.0.20
4e3af40ad16733ec126dd167e6d1e310
Output for 7.0.14
53790be658b84435f612f66fec0886b2
Output for 7.0.6
55cb8bf68009ed970c760e536a8a7e09
Output for 7.0.5
3d5579d236241d105594dc6d45c8e16c
Output for 7.0.4
acd621332dacfcc1311b527833599118
Output for 7.0.3
1b60d69b30df8c6485c1eaebe0042a3c
Output for 7.0.2
ac69848e572a842f228c8a92af9ca33c
Output for 7.0.1
9243d47669dff3fd0d05288d6dd55f4f
Output for 7.0.0
0c85be66f1b3f1454f1748a28999d103
Output for 5.6.28
831a8e40d3e3df7604141468a349a6bb
Output for 5.6.21
7b0cdd557518edf81334c64b3c95a273
Output for 5.6.20
a4b3186810f99e1fb7f6cd9e9168b2dc
Output for 5.6.19
250a284466ad992ea67ad11facd7ae5d
Output for 5.6.18
ead1f3968bef80848884f88f4f2b1f0b
Output for 5.6.17
c28a8afbf6631843e2ab2d6b0ffa5c02
Output for 5.6.16
a6ae6b8a0e3355f9b9696900360b7897
Output for 5.6.15
8c0c41c3fa7b356db18cf2146b8b4fe5
Output for 5.6.14
11e206e107eb4f70192eed1a23377d47
Output for 5.6.13
64ba2b9e7fdac52aabaae6e00c763188
Output for 5.6.12
c926ff196fa736e3cfe26280a441b57f
Output for 5.6.11
df52ade7472ed1ab2eed9ed94826139e
Output for 5.6.10
dd731cb665fbebff226be8bca9d3303a
Output for 5.6.9
b69edae43c0733fac41e0734eb50ce91
Output for 5.6.8
6ea0c67295f341014f3cba154f2151a3
Output for 5.6.7
bd48b30779a286d09bef6fbb16bfc258
Output for 5.5.35
e5c32cc9936a5ffe5ef8b1149072309a
Output for 5.5.34
7a8d96f9fc9b41bd52c535aa6c294807
Output for 5.5.33
4f2d34afc43619f962b1aa4e30dea530
Output for 5.5.32
3608ce883ea990917ef1e1af1b966ffb
Output for 5.5.31
b4c79b89f660529fda8ba5a5f06b2832
Output for 5.5.30
f859c856c45fa2215a974b2807779bc3
Output for 5.5.29
963a699c0c5e3d125da378045e438586
Output for 5.5.28
7ca3bff8b6d8b5fc305e4df1499e95b9
Output for 5.5.27
07793c4488cd098eae829713ec892007
Output for 5.5.26
d866a684441fea6e836f01efda3a7a36
Output for 5.5.25
2ef6aaadc62557f595449b64bec8bb44
Output for 5.5.24
ce288214cbf0e9da1748babc57cf5c22
Output for 5.4.45
7d9c272419b44fad5aebd8cd27e31a62
Output for 5.4.44
7d05c300577708c8855f58cfcabdf29f
Output for 5.4.43
9c7cea133bf4bf79f9b456f54313f752
Output for 5.4.42
512fe1ee65179684e983ec77c4d051d5
Output for 5.4.41
f22a5df46ad1bb78c06f2a73cd16332c
Output for 5.4.40
7839883c05db3a08a3db774e806f5b55
Output for 5.4.39
5beed34d6afa7e065ec82451a0f116f2
Output for 5.4.38
4403445c1f7fe9cb8e707bfeabc6a940
Output for 5.4.37
d0cf316c08a227ffa9f078b09f275ae7
Output for 5.4.36
d6438bb380694d977f42a74c5b0d1076
Output for 5.4.35
1c8d4eae7c0ed267fecaf747d34e7537
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.34
Fatal error: Call to undefined function openssl_random_pseudo_bytes() in /in/VTi0B on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: openssl_random_pseudo_bytes() in /in/VTi0B on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: openssl_random_pseudo_bytes() in /in/VTi0B on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: openssl_random_pseudo_bytes() in /in/VTi0B on line 2

preferences:
188.38 ms | 401 KiB | 309 Q