3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = bin2hex(openssl_random_pseudo_bytes(10)); echo $string;
based on KKlc3
Output for 7.2.6
Fatal error: Uncaught Error: Call to undefined function openssl_random_pseudo_bytes() in /in/hJmVL:2 Stack trace: #0 {main} thrown in /in/hJmVL on line 2
Process exited with code 255.
Output for 7.2.1
07f2ee23b47eabeab83a
Output for 7.2.0
750491f38f9c06947c55
Output for 7.1.13
ac2b292dd75c4bb37df3
Output for 7.1.12
7f92b8bf3245855ba56c
Output for 7.1.11
5741f4ed379a93c0d765
Output for 7.1.10
4960a0a79bb35100e603
Output for 7.1.9
27e8f6d45bb924f597a5
Output for 7.1.8
9be13df499c6bb39944d
Output for 7.1.7
fe3a23b0b8691a32cbda
Output for 7.1.6
dd4b55526fc801a3d4eb
Output for 7.1.5
ffd6827538846ff4565b
Output for 7.1.4
f63ad49cf96771aad89e
Output for 7.1.3
69cb9a9784e99877d8ff
Output for 7.1.2
622d491dd63a9c2fa326
Output for 7.1.1
aa4863c605a990bfd244
Output for 7.1.0
9af07c88dc3a23d7605a
Output for 7.0.27
12e823b34a758c077ce6
Output for 7.0.26
ebc1df97f2990a6ad75c
Output for 7.0.25
69e197a77efa6c67f267
Output for 7.0.24
89b71a02c93357a493ed
Output for 7.0.23
985c970735a83a155083
Output for 7.0.22
82e36dba1069e816677e
Output for 7.0.21
2cec39ff9a749ea9d424
Output for 7.0.20
592c8cc72508839be5fb
Output for 7.0.19
14eb4fe47cde231a3124
Output for 7.0.18
e44094ca2b49199c495b
Output for 7.0.17
9f03b81c71c4daf73b27
Output for 7.0.16
ed0beb80bb5ed859b128
Output for 7.0.15
dce4da4887031e3316df
Output for 7.0.14
f00f7ad34397f2d57198
Output for 7.0.13
604f93f702f2b2c98897
Output for 7.0.12
bbb2ccd55ebaaacebb3f
Output for 7.0.11
492ef837f2cb31d6279c
Output for 7.0.10
ea492ba71d50149693e3
Output for 7.0.9
35388ec1239f45ea8ea7
Output for 7.0.8
9c6dc3a07e7e7bd209cc
Output for 7.0.7
d3fd3e7a1bdc5ef98ca2
Output for 7.0.6
4b259d7efce1edb08cc5
Output for 7.0.5
439fa5d1a850fe849b41
Output for 7.0.4
25f70dde2ee5e9c8bada
Output for 7.0.3
5ce92db1f5e2ab4ccc83
Output for 7.0.2
a3bb61a6e152e820ad05
Output for 7.0.1
87913d86ac70cdc96f57
Output for 7.0.0
9f4aa11e16b42f68a81b
Output for hhvm-3.22.0
9ad832d79863023e7fee
Output for hhvm-3.21.3
a18bd375254e1515464a
Output for hhvm-3.21.0
3e370c9de64fe0d0e7dc
Output for hhvm-3.20.2
13adb3afe44b5532163a
Output for hhvm-3.19.2
59eaa508fa44a3a7e33d
Output for hhvm-3.18.5
02fe3b69bb8917c823c1
Output for hhvm-3.18.4
b2c2be28a62ea33da076
Output for hhvm-3.15.4
dbe8cd7410dbda5434e4
Output for 5.6.30
341353b4c98ea6025a66
Output for 5.6.29
06002e73e15265604db1
Output for 5.6.28
316679d49e6361e35315
Output for 5.6.27
44753735dfb71c33eac8
Output for 5.6.26
93c558fb3a0b81456260
Output for 5.6.25
689134cfdea4ec24dba3
Output for 5.6.24
3e97b3e7b72394a55b79
Output for 5.6.23
fdc45d9b4fa6bca3cd79
Output for 5.6.22
2d89151aaf268c7975eb
Output for 5.6.21
328f33480689a800ed2e
Output for 5.6.20
098766363155f5b7d688
Output for 5.6.19
bb63db202f9dabd832ca
Output for 5.6.18
9ec3db5fef63f599c594
Output for 5.6.17
9f7f0e2e1fa60c619cb9
Output for 5.6.16
3387b4c77fcacee957b1
Output for 5.6.15
4323d81dca91e938f9e9
Output for 5.6.14
1b238a05117ceaba03d0
Output for 5.6.13
d8368eea1a06458d79bb
Output for 5.6.12
32d0c1fef4e799027ddc
Output for 5.6.11
0c72155a8819908cb863
Output for 5.6.10
10dfdb310327132bc99e
Output for 5.6.9
04e798104b8e34272b63
Output for 5.6.8
961f3625c73a30e025e4
Output for 5.6.7
686fd47c43e652f2cc46
Output for 5.6.6
fa18cfd646cebeb83b98
Output for 5.6.5
8beaafff76b3c968d2bb
Output for 5.6.4
1dd9ae4c175682e1ed54
Output for 5.6.3
23c458ade567af8b4147
Output for 5.6.2
670adb128f1c07889167
Output for 5.6.1
03ffa750cce9c75650ff
Output for 5.6.0
a7ab9d8209cdc1b87a71
Output for 5.4.45
f2a4d1d214d7c45361f7