3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo bin2hex(openssl_random_pseudo_bytes(8));
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/8Bq98:2 Stack trace: #0 {main} thrown in /in/8Bq98 on line 2
Process exited with code 255.
Output for 7.2.0
d34ea3e54495396a
Output for 7.1.7
d3abc098cd706d93
Output for 7.1.6
b913614cf1b89ad6
Output for 7.1.5
4ac2ef0be718f79c
Output for 7.1.4
a00e597814618978
Output for 7.1.3
9096e05e974f735f
Output for 7.1.2
57c86a2ac21ad0df
Output for 7.1.1
1fbb4dbcaa25bfc5
Output for 7.1.0
b4b20c3f9db18fde
Output for 7.0.20
48c3bcc45799a1aa
Output for 7.0.19
021ff50af1f85f51
Output for 7.0.18
b1644c5b7211b9e4
Output for 7.0.17
adc21ea36a61e23b
Output for 7.0.16
631cdb42351ef12b
Output for 7.0.15
a31e0e4e6603abde
Output for 7.0.14
64e6c7d03dde3f49
Output for 7.0.13
5165fe02e4c11ccf
Output for 7.0.12
21141294de93c3b5
Output for 7.0.11
f82d3c1d6e548a3f
Output for 7.0.10
878d0d19de96ff17
Output for 7.0.9
232bf9fab36cbf26
Output for 7.0.8
bb8f14066d9f825e
Output for 7.0.7
b2865f0396bb3654
Output for 7.0.6
9fcbec37907c48f7
Output for 7.0.5
de9196e8917ff4f9
Output for 7.0.4
70d24fe84d8fd846
Output for 7.0.3
67a44797e4e11940
Output for 7.0.2
c3cb4d99797c5e2b
Output for 7.0.1
64ddab6261433ed4
Output for 7.0.0
c1e68a7c52e40ca0
Output for 5.6.30
dcd2cfe367654dfd
Output for 5.6.29
e256c56958cad397
Output for 5.6.28
ee3b055d95b90d68
Output for 5.6.27
f06a77ab8a39d60b
Output for 5.6.26
735a0e6a58eadbe2
Output for 5.6.25
63384b6cbb016b73
Output for 5.6.24
d29f820de7aa7019
Output for 5.6.23
5213d2118e0a47ee
Output for 5.6.22
dcab6ef091512dc1
Output for 5.6.21
6862c5521f5f25a0
Output for 5.6.20
864cb363dc096a23
Output for 5.6.19
94a34851bfc4bcc6
Output for 5.6.18
c4922d67a641dc96
Output for 5.6.17
0b0dd9ec3df5445e
Output for 5.6.16
ff33b01b9920a78c
Output for 5.6.15
60101bde5891e7c9
Output for 5.6.14
b4817209d8521688
Output for 5.6.13
66e15dfa65127ca5
Output for 5.6.12
a2e40f05f0d068fd
Output for 5.6.11
85a5c75fa8276378
Output for 5.6.10
c037333edeac7725
Output for 5.6.9
02d1d1dca77527c5
Output for 5.6.8
8e8c8df812177c01
Output for 5.6.7
bf366471646da77b
Output for 5.6.6
d4bfec39ecbc22f4
Output for 5.6.5
cb5f575cfa6547e7
Output for 5.6.4
e493305872979e1d
Output for 5.6.3
42c7a1788dd9fe90
Output for 5.6.2
da2d992a635da174
Output for 5.6.1
b2b197d1986185e4
Output for 5.6.0
427de11bc4f1b14b
Output for 5.5.38
2eca70fa1a35ffb5
Output for 5.5.37
7eaeb2d99b52d6ea
Output for 5.5.36
533d8393bc72740f
Output for 5.5.35
757d5c14126167af
Output for 5.5.34
746331eb94b7cbe0
Output for 5.5.33
94385e603d2d4d3e
Output for 5.5.32
389eca20acd39a83
Output for 5.5.31
071f2bdf08994de4
Output for 5.5.30
1e4a9f4a4794c14d
Output for 5.5.29
7ff064a55316c62b
Output for 5.5.28
53d4cc60a0bdf0e6
Output for 5.5.27
5bc88f41a7c18b6e
Output for 5.5.26
2acfe407d73ee5ad
Output for 5.5.25
a6462ea4ecb785ad
Output for 5.5.24
8bcc57f5fcc9b0db
Output for 5.5.23
cba7c2918378bb08
Output for 5.5.22
be39db960ef56db7
Output for 5.5.21
12945267794e2d28
Output for 5.5.20
2ca1a96c88d6b0e1
Output for 5.5.19
9280935eec4d9884
Output for 5.5.18
899ef4acb691411c
Output for 5.5.16
effe688448dfb823
Output for 5.5.15
8c1cb4e21873b67b
Output for 5.5.14
c91780eb8f58b8dc
Output for 5.5.13
01202fc119288864
Output for 5.5.12
89688b84d941778b
Output for 5.5.11
efc0f382b773a6e8
Output for 5.5.10
a0db418126c58d04
Output for 5.5.9
58133c16cf7d985a
Output for 5.5.8
6375868b267737fb
Output for 5.5.7
51c241ec72b626f5
Output for 5.5.6
c58e337b47bf16f9
Output for 5.5.5
43f73c39299fcbcb
Output for 5.5.4
c34dcb270b6e5d75
Output for 5.5.3
a605ddd9572aabb1
Output for 5.5.2
ed74552b6889712c
Output for 5.5.1
fd580e56b70a45ad
Output for 5.5.0
f4b90d6312a252a8
Output for 5.4.45
c0ad6f7a63b5fcd6
Output for 5.4.44
14c87ac82de0cd49
Output for 5.4.43
848e5f03ba40fd11
Output for 5.4.42
caa637d0bf509ce4
Output for 5.4.41
1171d826e88314e7
Output for 5.4.40
9b8683fa71a3c1e0
Output for 5.4.39
1acba74b8495b3ae
Output for 5.4.38
bd5ea05603be6bea
Output for 5.4.37
6a310c5571102136
Output for 5.4.36
673de7cde619ce65
Output for 5.4.35
692b875c4d75ebde
Output for 5.4.34
4f457038761b26a2
Output for 5.4.32
6ac850b65884314b
Output for 5.4.31
6679d19503a08373
Output for 5.4.30
65232e6e500a01c2
Output for 5.4.29
91ac2cd4a1b83644
Output for 5.4.28
954fd4148e654ef7
Output for 5.4.27
116bf3b1995b2725
Output for 5.4.26
ae138cc74f6aad0e
Output for 5.4.25
b44b784586e94509
Output for 5.4.24
a8dcf04d001c4228
Output for 5.4.23
87558c0f6e4bea90
Output for 5.4.22
f248bfb9af23eaa0
Output for 5.4.21
571f69c1be332540
Output for 5.4.20
fd267190428996c6
Output for 5.4.19
8f250bb531a32325
Output for 5.4.18
d690880de3e5f5c5
Output for 5.4.17
7e2c1054ab871c17
Output for 5.4.16
bca9c8f5d52ca7db
Output for 5.4.15
1d9d79f04993e7ab
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.14
Fatal error: Call to undefined function openssl_random_pseudo_bytes() in /in/8Bq98 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/8Bq98 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/8Bq98 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/8Bq98 on line 2

preferences:
268.99 ms | 401 KiB | 366 Q