3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $rand = bin2hex(openssl_random_pseudo_bytes(12)); var_dump($rand);
Output for 7.1.0
string(24) "c333a5801ac6a94f3f6a527b"
Output for 7.0.14
string(24) "c62e189d45f134f493ca4d9b"
Output for 7.0.10
string(24) "2c3d89eadf4f0ccc7f0330c6"
Output for 7.0.9
string(24) "99ffe4eaa39170f19c54494e"
Output for 7.0.8
string(24) "862d1d1c9825917d750ffa0a"
Output for 7.0.7
string(24) "7d8ccc6359cd7a7ff415ceda"
Output for 7.0.6
string(24) "c9691907e2cc04eed5a9ef97"
Output for 7.0.5
string(24) "1eb529124fd2899ea5c93c36"
Output for 7.0.4
string(24) "4fe53d356c680b97e685ad58"
Output for 7.0.3
string(24) "1a7d153b79dc16605ca54659"
Output for 7.0.2
string(24) "b7cf315a24237dd65d4945a0"
Output for 7.0.1
string(24) "b0191e92d0a9ef89c22c4a70"
Output for 7.0.0
string(24) "5f317547ec14e029407feea4"
Output for hhvm-3.12.0
string(24) "4a978f3634858b9c05e1016f"
Output for hhvm-3.10.0
string(24) "2be94e9e5d876c44367a3d87"
Output for 5.6.28
string(24) "21dfb3d769933d1121a342e6"
Output for 5.6.25
string(24) "6f89f1b0b97c48589cb6bfba"
Output for 5.6.24
string(24) "4fcefecec1741c3ec187be72"
Output for 5.6.23
string(24) "0c5d09a0973ed6efda23ad10"
Output for 5.6.22
string(24) "ba38cc61207022fdcaad41ef"
Output for 5.6.21
string(24) "18d042c435892c3d5b4637ff"
Output for 5.6.20
string(24) "15a627ac25911357fcbaaabb"
Output for 5.6.19
string(24) "0a3ad113d407c464b6fc89ff"
Output for 5.6.18
string(24) "8c2e7c2c4a65894e0da097ec"
Output for 5.6.17
string(24) "c8ce66ad03cc221d804cf20b"
Output for 5.6.16
string(24) "fdfded40041bb33fff8d25e3"
Output for 5.6.15
string(24) "fa7dfc5054d86bc922984689"
Output for 5.6.14
string(24) "d4c0a522eccb9a444229b874"
Output for 5.6.13
string(24) "c32faf24fc807a38fee33fa7"
Output for 5.6.12
string(24) "c55103df27632d1c91ef7b08"
Output for 5.6.11
string(24) "eef350966533bbc4e1a384ee"
Output for 5.6.10
string(24) "54f26f0e9abafc0edea879b6"
Output for 5.6.9
string(24) "f81aeb813b672e893d4546e1"
Output for 5.6.8
string(24) "c4ac6f608b646c53071ab497"
Output for 5.6.7
string(24) "5694f66acc3ad930118485ac"
Output for 5.6.6
string(24) "460b57dc8aa1ab45b116601a"
Output for 5.6.5
string(24) "47fb8db29b603ac2555c8ded"
Output for 5.6.4
string(24) "968b308a3144586546352795"
Output for 5.6.3
string(24) "455ae39fab211b6d1fcd62e0"
Output for 5.6.2
string(24) "3c11c18469de17f523da2843"
Output for 5.6.1
string(24) "391d093b6a299a309b15fba4"
Output for 5.6.0
string(24) "db5edc2c11d1065cf8a489ad"
Output for 5.5.38
string(24) "8987e112a3c59f79d3e05584"
Output for 5.5.37
string(24) "70532a414c6d6876ba1145e2"
Output for 5.5.36
string(24) "27b91c0f7618d53037f3256e"
Output for 5.5.35
string(24) "b08dc0a2e4e4a52c6339efca"
Output for 5.5.34
string(24) "0b97425a8a72bded53a6d740"
Output for 5.5.33
string(24) "64188a3407ad33260263ccd2"
Output for 5.5.32
string(24) "d1e99baba6495ec130b9165c"
Output for 5.5.31
string(24) "10cc97f927ea6654b10d5368"
Output for 5.5.30
string(24) "3c0992748bcf286f707be24b"
Output for 5.5.29
string(24) "2a712da8d843b40996759b9c"
Output for 5.5.28
string(24) "9d89d618b0f953af5d5fa59a"
Output for 5.5.27
string(24) "22de366e73d41a8afc84e193"
Output for 5.5.26
string(24) "213defeabbd7e8c0115aa6e6"
Output for 5.5.25
string(24) "5d66183c543b7830476d5c64"
Output for 5.5.24
string(24) "ae9a95698343a9afd499e803"
Output for 5.5.23
string(24) "51648321ba1105e0bbb37ea6"
Output for 5.5.22
string(24) "704beb18f0575323f1e7070f"
Output for 5.5.21
string(24) "cbf2a32ff170dc4c44eea33e"
Output for 5.5.20
string(24) "e4a5164acd88c3c0ce7889ab"
Output for 5.5.19
string(24) "4cad7d204bc5be40c9336ba3"
Output for 5.5.18
string(24) "4675c45a4cee58d0460508e5"
Output for 5.5.16
string(24) "ffe3ee888fc9eb92b6f730e4"
Output for 5.5.15
string(24) "12250afb41725db3a163a4e4"
Output for 5.5.14
string(24) "179106b7fc6bb8006ce0717c"
Output for 5.5.13
string(24) "37b617592a7e30b02ee8b74b"
Output for 5.5.12
string(24) "54bad7cd62919b55d574caba"
Output for 5.5.11
string(24) "f67886b0802aa08dce89605a"
Output for 5.5.10
string(24) "2bf4850f81899714b0e1caa6"
Output for 5.5.9
string(24) "affc09d82933963b5f7a6ea4"
Output for 5.5.8
string(24) "5cb183a56e459579c9342b52"
Output for 5.5.7
string(24) "27f2a7e006b8e1ec234aea93"
Output for 5.5.6
string(24) "9157fed6cb09be2b9da6b65c"
Output for 5.5.5
string(24) "a533cfaba9698c5b61eed73c"
Output for 5.5.4
string(24) "156152662b4071ddd8cb3109"
Output for 5.5.3
string(24) "0292ac2c769063422e69c9fd"
Output for 5.5.2
string(24) "aea32ae3e13fa9dcd31a1821"
Output for 5.5.1
string(24) "97a79cbd4cb4e09d29e714bb"
Output for 5.5.0
string(24) "cabd664842d0c19073ba872f"
Output for 5.4.45
string(24) "0c3bcd30b8abf39d55226974"
Output for 5.4.44
string(24) "c707a6ee619276affb872ac4"
Output for 5.4.43
string(24) "8615daa51935a312e32294d3"
Output for 5.4.42
string(24) "72f561c70a1201f8b4cf7382"
Output for 5.4.41
string(24) "17997b5b97712f72700aea59"
Output for 5.4.40
string(24) "27a95542906623e8f0c7cd3d"
Output for 5.4.39
string(24) "438b0d6634a4f0f3ab9f7d1e"
Output for 5.4.38
string(24) "df11c75f94f1ad5edae50719"
Output for 5.4.37
string(24) "dfcbecc8ee3926b26efbc149"
Output for 5.4.36
string(24) "1c1e1dd10796e82898634d07"
Output for 5.4.35
string(24) "8815eee79d8e22d6c3f73ff2"
Output for 5.4.34
string(24) "7a17f1827a48d763ab63b82a"
Output for 5.4.32
string(24) "902a30c54907a5760efa30b0"
Output for 5.4.31
string(24) "77fc6579300d2444a111b789"
Output for 5.4.30
string(24) "7fd88e80be1c07a4cc1c136d"
Output for 5.4.29
string(24) "105d520a372396b9f19ec718"
Output for 5.4.28
string(24) "b4df3b4d44529341a4f7b7d4"
Output for 5.4.27
string(24) "e582684f1aedfceb6d68c75e"
Output for 5.4.26
string(24) "925286048493141182cdaafc"
Output for 5.4.25
string(24) "4154754f15f78f31a71ba02f"
Output for 5.4.24
string(24) "fe7703f619a3b63e42bf9722"
Output for 5.4.23
string(24) "3c1b954368049411bb477612"
Output for 5.4.22
string(24) "dcde713c44574d37a17ba8b3"
Output for 5.4.21
string(24) "afa5279475fd468afe5b977d"
Output for 5.4.20
string(24) "418a12f4af559cc3df6271c1"
Output for 5.4.19
string(24) "8eb9d4406d14518a8b20786a"
Output for 5.4.18
string(24) "a25c4fcfc38f4b868beda43a"
Output for 5.4.17
string(24) "1456a658ca9b95e97c40716f"
Output for 5.4.16
string(24) "af0c69a808b1d4f9b6a339b8"
Output for 5.4.15
string(24) "22caebb7d8ce30c0777ff780"
Output for 5.0.0 - 5.4.14
Fatal error: Call to undefined function openssl_random_pseudo_bytes() in /in/4WKeV 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/4WKeV on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: openssl_random_pseudo_bytes() in /in/4WKeV 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/4WKeV on line 2