3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_replace('/[^a-zA-Z0-9]/', '', base64_encode(openssl_random_pseudo_bytes(24))));
Output for 7.2.0
string(31) "WSa8ao4k06PzOJADX1crwYEDiRDdioW"
Output for 7.1.7
string(29) "AQ2NDqQDTU2HIFHqrPqOWImtYtGCK"
Output for 7.1.6
string(31) "oQ7aq9fFAS3XJLGpU1FUlViGOmL5deO"
Output for 7.1.5
string(30) "8lXaTZvpHzgeAnbubJb79CcxrSxERs"
Output for 7.1.0
string(30) "Ruy5K3fwZl2Kl0ZKN3zybTRARMhBsP"
Output for 7.0.20
string(30) "WZShKvj04Lm7IWNI68H3H7A9Qz27TB"
Output for 7.0.14
string(31) "UkVT6MOs6GzlmBoNnCK5aajwKqyHET1"
Output for 7.0.12
string(32) "HQ8UcYe8tWDXvA0AInAJVhwFxnxKZW1d"
Output for 7.0.6
string(30) "vCbjDOmCnHclpGcQ52LqP3wzQ3mEBE"
Output for 7.0.5
string(31) "viedOLi1ePJrIUqPrESRjKfrp1UfGEj"
Output for 7.0.4
string(32) "cFSAKcSzxlqzEj3GNcpIsZZRzQ2IsRu9"
Output for 7.0.3
string(31) "6CLk15AgJAnAqsaSBoOLalxj2yhNOFU"
Output for 7.0.2
string(32) "tEd7IWW8t0ke2IvtuF1uaz9zCwIJTENX"
Output for 7.0.1
string(31) "u1gt1euEIAJYGBBktETrwC2INR9FqRa"
Output for 7.0.0
string(31) "X0E5ai5xI7hfOg8mHaFwZaisasYjGOH"
Output for 5.6.28
string(26) "ja7ojA16K2UztbQYqNXldYDBYm"
Output for 5.6.21
string(29) "yzloFHQ5sIiD2RZ8v6ArojTVHidQ5"
Output for 5.6.20
string(29) "Hrsb9vsQSXYsZmwHqSkzN4hclVLYx"
Output for 5.6.19
string(31) "VzNlzE6SecAYEbjy3yWDfeHAyOow5np"
Output for 5.6.18
string(32) "mbNVoFJtVKl3zgqId5YExQQ9IU0j76qI"
Output for 5.6.17
string(32) "4weDdbtr7Ai7RWEQxWebxVl8wxKPYSue"
Output for 5.6.16
string(31) "EvbPzzqpoTrttivDRsNyk5kWuvxYryr"
Output for 5.6.15
string(32) "R7AR7jW9XcIXNXZGJutJjnTXQyecD94c"
Output for 5.6.14
string(32) "mDLSz5NFZTK9jMM43eII47kzVuaRCL5Q"
Output for 5.6.13
string(32) "HdmS4BVlHcvpoguTiG8CgOU78zjTgu6g"
Output for 5.6.12
string(30) "x9DsqPly94LwqoVbnwK5zTsphggrhm"
Output for 5.6.11
string(31) "IQYBbvmRP7ZwE3HX0eo6BwpQWiTew1G"
Output for 5.6.10
string(31) "vLHfGoBTfJdoDB8pOzntqOS3KRLDBev"
Output for 5.6.9
string(32) "ckFAVCLH3dbsgHFS9hajURGUAlsPIWJs"
Output for 5.6.8
string(32) "xT6A5J5hqHI77aEUQgGRQWaYizFIjgIZ"
Output for 5.6.7
string(31) "XpzcteoZMXtLiSnGFmkjLlsDvB6Vdha"
Output for 5.6.6
string(32) "rJzJBBqB1AqFvVVQysvuTnIaQlSSo79m"
Output for 5.6.5
string(30) "lv5Qw8f2qf7sRzjYipXzRSB6xh6Ihc"
Output for 5.6.4
string(31) "3Kd6g3MAjoEsWNNN57nzY6Za94uSdyy"
Output for 5.6.3
string(31) "PpI8wIzS85RjYPOhKmcQBOK7jBdmQiL"
Output for 5.6.2
string(32) "AWxmPHoIjaV0aXcBu3sITY9Ll1OBWqA0"
Output for 5.6.1
string(31) "pywrvuI3LPa5NH9H54XhqtjM1lldMJe"
Output for 5.6.0
string(31) "jdEV0WkKRid060DlO43UiBbt3iMtLyj"
Output for 5.5.35
string(29) "6B4VyPzTE0cqebc6MDuKnMO9oKlyi"
Output for 5.5.34
string(31) "kNhQj9f5CnIwa1MPpJTPPNaSUJSsh48"
Output for 5.5.33
string(31) "aRYz58PWYbRDJAXHH2yarPzgRGXKS7Z"
Output for 5.5.32
string(32) "IUVKQ6LkuPUdhTqCmwnMyjykc0AMvncz"
Output for 5.5.31
string(30) "5v8ac3QV11fLfKajbprMPN5aVQHqWA"
Output for 5.5.30
string(30) "abAwuBFIzD2Y6id7p3gsHcDP3l5dMI"
Output for 5.5.29
string(29) "rNC8vhx70D6fhsDTtaXDEA7paOno9"
Output for 5.5.28
string(31) "AGwYm7ONVc5SjzLEt2tICRYwkWWvGUs"
Output for 5.5.27
string(32) "q8uj4gmN9IQ3C7l8Oe9VC0ChMcNwDLL4"
Output for 5.5.26
string(32) "2su80LSXF5UWN1rD7XmxI1ulASQ58bcV"
Output for 5.5.25
string(30) "RQ2awxk7sidUCwV0T0AtIa6wfLMuDO"
Output for 5.5.24
string(31) "MiOCUwz1vL0Tj0RMNQcrz6iE6Hg96VE"
Output for 5.5.23
string(31) "o7iXBimgOVVb9hRtk5YN0cL9Fi0QyuJ"
Output for 5.5.22
string(31) "AvXehe5G3L792Z3RjvIc5gtZANnFwHY"
Output for 5.5.21
string(32) "9ToWv0JvCo0bsyvNDqIv1BatoFqaBRZe"
Output for 5.5.20
string(31) "gdUaV5E5wtXc6aJ7w7uVZYxbyupjBKe"
Output for 5.5.19
string(31) "zL6gEkt5HtP7XhNBNhpJP7MUkhZVFjM"
Output for 5.5.18
string(31) "TML4Ts9y18StLc6hCHLB2qbpRDU63wI"
Output for 5.5.16
string(31) "Ah6GDtuUeEDAFwyqBz7JjeSW4wHhjLq"
Output for 5.5.15
string(30) "xbfNySeMszhnof9C1jXWTh9PhkP6eL"
Output for 5.5.14
string(32) "AChlgdpAkAEqyCi7Up4YcmEPxx7x79gK"
Output for 5.5.13
string(31) "xZlqM9oiZNpar3oeSkwfr7EY1fqcqDh"
Output for 5.5.12
string(31) "GsViiakHKknM4EXwR9j5ufJD6mqDOR0"
Output for 5.5.11
string(31) "hM5LnZ4JKL1bs16QonkcaYUiG6RUNKP"
Output for 5.5.10
string(32) "1sa1tTtloWlj3E4OYQqnrOAGoOilfHXl"
Output for 5.5.9
string(31) "CEFppkTDHjf7Tn7nRiSjB471CUYNOAJ"
Output for 5.5.8
string(31) "7ChZHke38jsDZLIYHyraclnwPPk9b4S"
Output for 5.5.7
string(31) "WkHlwTYp0SIMhRbnTGaEWZXWyBpUlM7"
Output for 5.5.6
string(31) "eaBrJJCemCyVUgoICvWNxzBTUnnyFeK"
Output for 5.5.5
string(30) "DT75ycqws3aubnXte8d9ZTf5h5PTRF"
Output for 5.5.4
string(32) "6DVpXTGuAVnsBJVGH872QpEykp4CDQuW"
Output for 5.5.3
string(31) "RCa40yFlpHRgARqOL7gTjFJfyd6xjbx"
Output for 5.5.2
string(31) "ft0hYDy2Qlpqyk20fsDWKqERFHMLGNw"
Output for 5.5.1
string(32) "Qp6xeP8ZfLfnCSPTyanDJDUvIWdpfoH1"
Output for 5.5.0
string(32) "cWc3OFNu9mKwtqh8SmTWiH6H2Wrn61O2"
Output for 5.4.45
string(31) "y5mGew8ia562XHuiy5CGuPAvP6QFRu1"
Output for 5.4.44
string(31) "4GCFOuVvZImqDD1NdIk5CLbTI5VxFjK"
Output for 5.4.43
string(30) "OV2vijYeqVQ19cOpV5reNTX1Gvfc34"
Output for 5.4.42
string(30) "uVy9GEcYaFeA5njMe6rxskTJmuFHAP"
Output for 5.4.41
string(31) "sAWOVXZUD3prrDgxETywTgGWsvTjt9k"
Output for 5.4.40
string(31) "aGT3m5eqxmHcQftsg6GR4IRKFY2yta0"
Output for 5.4.39
string(30) "d6jraCYPnLpbwihOf9Ujo4B04ZTaIb"
Output for 5.4.38
string(31) "xsuH7Dl8U8YTmMCvv82HEfivXdx9UXN"
Output for 5.4.37
string(31) "jbV28GoPIco85HkHdTI9HYyXbr3bWJu"
Output for 5.4.36
string(32) "pbnNymRXtAK8fxFDT95VYwoGyRHQhWoq"
Output for 5.4.35
string(32) "pX1NFK4LpzjhUnN0YPKjpgj0BdGOVuXP"
Output for 5.4.34
string(31) "EnC4r5gShBSL1qp7rJehXxqBwRv6Jdk"
Output for 5.4.32
string(32) "hFsdnFf7Vzi5cJGIWltsL8jkVSUGXgN3"
Output for 5.4.31
string(31) "JnbTCd1azz1KDnfkMtLxmCcCuDmCSLc"
Output for 5.4.30
string(32) "rq5JPfg6aO9Jj7Lr112WhnsSuopbafcv"
Output for 5.4.29
string(31) "ZOMH9wExuAxGhOZNyU1fkSyjt2ogeBP"
Output for 5.4.28
string(31) "TnZk1puIRVretpTOWoqr0Q0XPljnO0e"
Output for 5.4.27
string(31) "vaaQwU5CQKIoDKlk3FidMaPugazrX6A"
Output for 5.4.26
string(31) "LqrQUzlgKoTwfxO78Xqtk8Be8ULMGZs"
Output for 5.4.25
string(30) "aTx0BV94gyLumE1NI3G7Dz3xucXQ1M"
Output for 5.4.24
string(31) "6i5YwnGq4lPbAkX9YERZidnAdPr18tv"
Output for 5.4.23
string(32) "z28ojOrOpHYHMR33FMeEcKILsrpGbPxW"
Output for 5.4.22
string(31) "r7yZHqfcX3JEwvd0PmlG2ngqlYuEcUA"
Output for 5.4.21
string(31) "vfGXgkcSiCKP7igSCEcvntnGMcMUyNX"
Output for 5.4.20
string(31) "VXjeOtt5ldWakQGMFKaSxs9uxmZr7BV"
Output for 5.4.19
string(29) "Aa68getuH5ElDcsdGy8DhvB4Z1ptR"
Output for 5.4.18
string(31) "HSOcCHOxrMCkNqnXD3J217soXPziZvI"
Output for 5.4.17
string(31) "70iwuEG4WHaCWRSJBjywKeXBQivlfe1"
Output for 5.4.16
string(32) "ZJzsEiDQp3mzD6GBiivGOsacDfPEXieY"
Output for 5.4.15
string(32) "SHWZo342QUGTaEK2B4nNhITBB3ZpVco6"
Output for 5.2.3 - 5.4.14
Fatal error: Call to undefined function openssl_random_pseudo_bytes() in /in/NJiAC on line 4
Process exited with code 255.
Output for 5.0.0 - 5.2.2
<br /> <b>Fatal error</b>: Call to undefined function openssl_random_pseudo_bytes() in <b>/in/NJiAC</b> on line <b>4</b><br />
Process exited with code 255.
Output for 4.4.5 - 4.4.9
<br /> <b>Fatal error</b>: Call to undefined function: openssl_random_pseudo_bytes() in <b>/in/NJiAC</b> on line <b>4</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<br /> <b>Fatal error</b>: Call to undefined function: openssl_random_pseudo_bytes() in <b>/in/NJiAC</b> on line <b>4</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Call to undefined function: openssl_random_pseudo_bytes() in <b>/in/NJiAC</b> on line <b>4</b><br />