3v4l.org

run code in 300+ PHP versions simultaneously
<?php $wtf = openssl_random_pseudo_bytes ( 5 , $cryptoStrong = false ); var_dump(bin2hex($wtf), $cryptoStrong);
Output for 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 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/nv1bV:3 Stack trace: #0 {main} thrown in /in/nv1bV on line 3
Process exited with code 255.
Output for 7.1.7
Notice: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "9669b54394" bool(false)
Output for 7.1.6
Notice: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "ae57f9c7bc" bool(false)
Output for 7.1.5
Notice: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "99b50749b3" bool(false)
Output for 7.1.0
Notice: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "90598d8ab3" bool(false)
Output for 7.0.20
Notice: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "d30578f913" bool(false)
Output for 7.0.14
Notice: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "310fe0fb92" bool(false)
Output for 7.0.6
Notice: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "2e398625d1" bool(false)
Output for 7.0.5
Notice: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "efc6fb9d7b" bool(false)
Output for 7.0.4
Notice: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "c71fc96afb" bool(false)
Output for 7.0.3
Notice: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "e36ebb366f" bool(false)
Output for 7.0.2
Notice: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "46bbd90a8a" bool(false)
Output for 7.0.1
Notice: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "2490dc62c0" bool(false)
Output for 7.0.0
Notice: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "0b8f57fb11" bool(false)
Output for 5.6.28
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "1cfe13e540" bool(false)
Output for 5.6.21
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "133263e99d" bool(false)
Output for 5.6.20
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "9ff94befc4" bool(false)
Output for 5.6.19
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "a248c20ecd" bool(false)
Output for 5.6.18
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "10f3a8fcb7" bool(false)
Output for 5.6.17
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "0115b49a2d" bool(false)
Output for 5.6.16
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "5e8211cce3" bool(false)
Output for 5.6.15
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "862a3b246c" bool(false)
Output for 5.6.14
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "a1db896161" bool(false)
Output for 5.6.13
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "46132c910d" bool(false)
Output for 5.6.12
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "3e4fa4f34a" bool(false)
Output for 5.6.11
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "cf755ebda3" bool(false)
Output for 5.6.10
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "6da92784df" bool(false)
Output for 5.6.9
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "e832e4f9a6" bool(false)
Output for 5.6.8
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "cd70da635b" bool(false)
Output for 5.5.35
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "106166c23e" bool(false)
Output for 5.5.34
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "c636fc9288" bool(false)
Output for 5.5.33
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "2a459f6dca" bool(false)
Output for 5.5.32
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "ecfc63bc8a" bool(false)
Output for 5.5.31
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "d162da0578" bool(false)
Output for 5.5.30
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "15588cc9cc" bool(false)
Output for 5.5.29
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "ad813dd5d8" bool(false)
Output for 5.5.28
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "135d1d61b8" bool(false)
Output for 5.5.27
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "db6163017f" bool(false)
Output for 5.5.26
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "02d80c9928" bool(false)
Output for 5.5.25
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "f465c28b01" bool(false)
Output for 5.5.24
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "bc5131267f" bool(false)
Output for 5.4.45
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "52b379b057" bool(false)
Output for 5.4.44
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "14ec8649d7" bool(false)
Output for 5.4.43
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "16c3946f6e" bool(false)
Output for 5.4.42
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "1475f37bc3" bool(false)
Output for 5.4.41
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "d291bc26ed" bool(false)
Output for 5.4.40
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "8c67e37874" bool(false)
Output for 5.4.39
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "f588a5acf1" bool(false)
Output for 5.4.38
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "d3c08a86db" bool(false)
Output for 5.4.37
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "62dec3c64c" bool(false)
Output for 5.4.36
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "46e31bfc51" bool(false)
Output for 5.4.35
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "a267854c13" bool(false)
Output for 5.4.34
Strict Standards: Only variables should be passed by reference in /in/nv1bV on line 3 string(10) "7a782dcf38" bool(false)
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.32
Fatal error: Call to undefined function openssl_random_pseudo_bytes() in /in/nv1bV on line 3
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/nv1bV on line 3
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/nv1bV on line 3
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/nv1bV on line 3

preferences:
255.61 ms | 401 KiB | 327 Q