3v4l.org

run code in 500+ PHP versions simultaneously
<?php function InstrumentHash($serial) { $prefix = "_a_" .trim("placeholder_" . chr(32+((int)($serial/8))%64)); $multiplier = 73 + (int)($serial/9); return md5($prefix . (string)($multiplier*$serial)); } function InstrumentPassword($serial, $len) { $pswtbl = "123456789ABCDEFGHKMNPRSTUVWX"; $tlen = strlen($pswtbl); srand($serial); $pass = ""; if ($len >= 16); $len = 16; for (; $i<$len; $i++) { $val = ($serial * 73 + rand()%8791) % $tlen; $pass .= $pswtbl[$val]; } return $pass; } function InstrumentSSID($serial, $instname, &$ssid, &$psk) { $passtable = "abicdefghiknsetuv123a45i67e89"; srand($serial); $ssid = $instname . sprintf("%04d",rand(0,9999)); $psk = ""; for ($i=0; $i<8; $i++) { $t = rand(0,strlen($passtable)-1); $psk .= $passtable[$t]; } }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.5.30.0360.00716.38
8.5.20.0360.00716.15
8.5.10.0310.00916.39
8.5.00.0300.01016.26
8.4.180.0330.01019.63
8.4.170.0200.01219.50
8.4.160.0360.00919.50
8.4.150.0330.01219.22
8.4.140.0260.00917.48
8.4.130.0330.00917.41
8.4.120.0360.00917.41
8.4.110.0340.00917.75
8.4.100.0350.01017.72
8.4.90.0360.00817.65
8.4.80.0340.00917.53
8.4.70.0360.01017.65
8.4.60.0370.00817.66
8.4.50.0340.00917.54
8.4.40.0400.00917.25
8.4.30.0300.01017.43
8.4.20.0260.00617.49
8.4.10.0310.00517.42
8.3.300.0230.00618.20
8.3.290.0260.00918.15
8.3.280.0230.00618.34
8.3.270.0240.00516.55
8.3.260.0360.00816.52
8.3.250.0340.00716.57
8.3.240.0350.00716.57
8.3.230.0360.00816.50
8.3.220.0330.00516.63
8.3.210.0250.00716.53
8.3.200.0230.00616.58
8.3.190.0270.00316.57
8.3.180.0250.00916.47
8.3.170.0260.00716.32
8.3.160.0320.00416.56
8.3.150.0300.00816.47
8.3.140.0270.00416.53
8.3.130.0240.00716.76
8.3.120.0240.00716.55
8.3.110.0230.00616.58
8.3.100.0250.00716.73
8.3.90.0250.00516.63
8.3.80.0360.00716.63
8.3.70.0240.00716.45
8.3.60.0350.00616.47
8.3.50.0320.01116.56
8.3.40.0260.00517.83
8.3.30.0270.00517.63
8.3.20.0240.01017.84
8.3.10.0180.00817.78
8.3.00.0210.00417.72

preferences:
57.77 ms | 696 KiB | 5 Q