3v4l.org

run code in 300+ PHP versions simultaneously
<?PHP $client_seed = '914504a25e42c9bbfc388305cec7b0aa'; $server_seed = '7f53da7c6ee33561522f66fbdf1c10e844445a5997ebf0d5166c294f8c96ad9c'; $result_seed = hash_hmac('sha512', $server_seed, $client_seed); $result_number = hexdec(substr($result_seed,0,10)); $lucky_number = abs($result_number % 100); echo $lucky_number;

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.3.60.0140.00716.63
8.3.50.0060.00917.98
8.3.40.0160.00618.56
8.3.30.0120.00318.77
8.3.20.0050.00320.29
8.3.10.0080.00022.04
8.3.00.0070.00023.61
8.2.180.0150.00418.43
8.2.170.0100.00722.96
8.2.160.0110.00420.35
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0000.00822.19
8.2.120.0040.00426.35
8.2.110.0040.00420.35
8.2.100.0040.00817.84
8.2.90.0040.00419.05
8.2.80.0060.00317.97
8.2.70.0000.01117.63
8.2.60.0000.00917.93
8.2.50.0000.00818.22
8.2.40.0020.00520.64
8.2.30.0040.00419.32
8.2.20.0030.00618.06
8.2.10.0040.00418.01
8.2.00.0000.00718.20
8.1.280.0070.00725.92
8.1.270.0040.00420.23
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0140.00722.15
8.1.230.0100.00017.71
8.1.220.0050.00317.79
8.1.210.0030.00618.77
8.1.200.0030.00717.13
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0000.00818.43
8.1.160.0040.00418.88
8.1.150.0080.00020.02
8.1.140.0040.00417.40
8.1.130.0070.00018.92
8.1.120.0080.00017.37
8.1.110.0000.00717.38
8.1.100.0030.00717.34
8.1.90.0030.00317.30
8.1.80.0000.00717.33
8.1.70.0040.00417.39
8.1.60.0050.00317.52
8.1.50.0000.00817.39
8.1.40.0030.00617.45
8.1.30.0000.00717.53
8.1.20.0040.00417.60
8.1.10.0000.00817.41
8.1.00.0000.00817.31
8.0.300.0000.00818.77
8.0.290.0000.00816.75
8.0.280.0050.00318.41
8.0.270.0040.00417.34
8.0.260.0030.00318.41
8.0.250.0070.00017.05
8.0.240.0050.00316.80
8.0.230.0030.00416.85
8.0.220.0030.00316.87
8.0.210.0070.00016.89
8.0.200.0030.00316.87
8.0.190.0030.00516.93
8.0.180.0030.00516.90
8.0.170.0050.00316.93
8.0.160.0090.00016.95
8.0.150.0040.00416.80
8.0.140.0040.00416.73
8.0.130.0000.00513.36
8.0.120.0040.00416.91
8.0.110.0040.00416.97
8.0.100.0000.00716.82
8.0.90.0050.00216.95
8.0.80.0070.01416.82
8.0.70.0040.00416.87
8.0.60.0000.00717.02
8.0.50.0000.00816.73
8.0.30.0120.00817.01
8.0.20.0100.00817.40
8.0.10.0040.00417.02
8.0.00.0000.01816.68
7.4.330.0020.00215.55
7.4.320.0030.00316.55
7.4.300.0040.00416.46
7.4.290.0030.00316.55
7.4.280.0040.00416.49
7.4.270.0100.00016.55
7.4.260.0000.00716.55
7.4.250.0000.00716.48
7.4.240.0000.00716.56
7.4.230.0070.00016.55
7.4.220.0140.01016.54
7.4.210.0040.01116.49
7.4.200.0070.00016.36
7.4.160.0070.00816.53
7.4.150.0120.00817.40
7.4.140.0140.00617.86
7.4.130.0160.00616.38
7.4.120.0110.00716.48
7.4.110.0110.00816.44
7.4.100.0090.00816.50
7.4.90.0120.00616.57
7.4.80.0040.01219.39
7.4.70.0130.00416.54
7.4.60.0030.01216.54
7.4.50.0060.01016.57
7.4.40.0070.01016.52
7.4.30.0100.00716.38
7.4.00.0130.00315.11
7.3.330.0020.00213.09
7.3.320.0060.00013.04
7.3.310.0030.00316.34
7.3.300.0000.00716.23
7.3.290.0070.00816.24
7.3.280.0070.01016.21
7.3.270.0090.00917.40
7.3.260.0080.01016.29
7.3.250.0090.01016.28
7.3.240.0090.00816.32
7.3.230.0030.01316.34
7.3.210.0000.01616.31
7.3.200.0060.00916.42
7.3.190.0090.00716.28
7.3.180.0090.00216.31
7.3.170.0110.00416.19
7.3.160.0150.00016.16
7.3.10.0110.00316.33
7.3.00.0070.01116.27
7.2.330.0070.01116.35
7.2.320.0070.01016.34
7.2.310.0030.01716.70
7.2.300.0110.00716.61
7.2.290.0080.00816.63
7.2.130.0120.01516.40
7.2.120.0040.01216.52
7.2.110.0130.00716.44
7.2.100.0090.01316.71
7.2.90.0140.00516.53
7.2.80.0070.01316.72
7.2.70.0090.00616.49
7.2.60.0110.00516.55
7.2.50.0120.02016.43
7.2.40.0170.00716.23
7.2.30.0130.00316.39
7.2.20.0130.01016.25
7.2.10.0120.01216.33
7.2.00.0130.01016.48
7.1.250.0230.00315.50
7.1.200.0050.01415.83
7.1.100.3490.00716.18
7.1.90.5700.01015.98
7.1.80.4610.01015.94
7.1.70.5130.01315.33
7.1.60.4490.01733.02
7.1.50.4410.01933.08
7.1.40.4880.02032.61
7.1.30.6020.00732.73
7.1.20.4530.01032.63
7.1.10.3990.01014.92
7.1.00.3940.01014.63
7.0.240.3060.01315.55
7.0.230.5010.01015.95
7.0.220.3330.00315.59
7.0.210.5080.00314.69
7.0.200.5830.00715.09
7.0.190.5010.01514.80
7.0.180.3750.01014.33
7.0.170.5240.01014.38
7.0.160.4580.01014.39
7.0.150.3920.01314.65
7.0.140.4180.01014.59
7.0.130.4030.00714.89
7.0.120.4150.00714.55
7.0.110.2640.01614.73
7.0.100.3980.00714.56
7.0.90.3880.01014.45
7.0.80.3890.01714.72
7.0.70.3990.01014.57
7.0.60.4500.01314.34
7.0.50.4280.01114.55
7.0.40.4120.01614.60
7.0.30.3960.00714.67
7.0.20.3190.01314.58
7.0.10.3400.01214.58
7.0.00.3210.01314.46

preferences:
58.82 ms | 400 KiB | 5 Q