3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mang1 = array ("c47a64ecf89f1b1a42000b2935ac6b21", "c87cc240e96965d6b4a082276706d086","df344e84663ef8ed7f3f543f7163adbb","a1d8259cc22526a41cb08a4912d14fa5"); for ($i1=0 ; $i1 < count ($mang1); $i1++){ for ($i2=0 ; $i2< count($mang1); $i2++){ for ( $i3=0 ; $i3< count ($mang1) ; $i3++){ for ( $i4=0 ; $i4< count ($mang1); $i4++){ $serverSeed = $mang1[$i1].$mang1[$i2].$mang1[$i3].$mang1[$i4]; $clientSeed = 'c034ccb72c85110ae15de61e89b43cf84a5e4113'; $nonce = 10; for($nonce =1; $nonce < 10; $nonce++){ $seed = $serverSeed.'-'.$clientSeed.'-'.$nonce; do { $seed = sha1($seed); $lucky = hexdec(substr($seed,0,8)); } while ($lucky > 4294960000); $luckyNumber = ($lucky % 10000) / 100; if ($luckyNumber < 0) $luckyNumber = -$luckyNumber; if ($nonce == 1 and $luckyNumber == 74.87){ if ($nonce == 2 and $luckyNumber == 30.41){ echo $nonce.":".$luckyNumber; echo nl2br ("\n"); echo $serverSeed; } }}}}}}
Output for 7.1.0 - 7.1.33, 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.4, 8.3.6
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

preferences:
171.58 ms | 402 KiB | 200 Q