3v4l.org

run code in 300+ PHP versions simultaneously
<?php $verify = array( "seed" => "9c3dabc67538ac6d725659b8172e0827a2b700f330ec8d443ee597f4ec575c77", "salt" => "05eba7cea3", "round_id" => "215358" ); $win_num = hexdec(substr(hash("sha256",$verify['seed']."-".$verify['salt']."-".$verify['round_id']),0,8)) % 15; echo "Result for game #".$verify['round_id'].": ".$win_num;

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.0070.01018.56
8.3.50.0110.00420.01
8.3.40.0090.00618.72
8.3.30.0150.00618.70
8.3.20.0000.00820.38
8.3.10.0040.00421.61
8.3.00.0040.00420.95
8.2.180.0100.01016.63
8.2.170.0110.00422.96
8.2.160.0140.00019.16
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0080.00020.22
8.2.120.0040.00426.35
8.2.110.0030.00620.99
8.2.100.0070.00718.05
8.2.90.0040.00419.17
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0050.00218.98
8.2.50.0060.00318.10
8.2.40.0080.00020.66
8.2.30.0030.00619.30
8.2.20.0040.00417.77
8.2.10.0000.00718.09
8.2.00.0000.00718.03
8.1.280.0110.00725.92
8.1.270.0040.00423.88
8.1.260.0070.00028.09
8.1.250.0050.00228.09
8.1.240.0040.00419.16
8.1.230.0040.00717.91
8.1.220.0080.00017.89
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0040.00417.23
8.1.180.0050.00318.10
8.1.170.0060.00318.65
8.1.160.0030.00618.89
8.1.150.0070.00018.88
8.1.140.0040.00419.61
8.1.130.0050.00317.74
8.1.120.0040.00717.46
8.1.110.0000.00817.35
8.1.100.0040.00417.52
8.1.90.0000.00717.41
8.1.80.0000.00717.44
8.1.70.0030.00517.51
8.1.60.0040.00417.61
8.1.50.0000.00817.55
8.1.40.0020.00517.50
8.1.30.0050.00317.65
8.1.20.0040.00417.60
8.1.10.0000.00817.49
8.1.00.0050.00217.40
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0000.00718.32
8.0.270.0000.00717.30
8.0.260.0070.00017.18
8.0.250.0000.00716.86
8.0.240.0080.00016.85
8.0.230.0000.00716.83
8.0.220.0000.00616.89
8.0.210.0040.00416.86
8.0.200.0050.00217.00
8.0.190.0050.00216.85
8.0.180.0050.00216.98
8.0.170.0000.00816.86
8.0.160.0070.00016.90
8.0.150.0080.00016.90
8.0.140.0070.00016.78
8.0.130.0030.00313.32
8.0.120.0030.00616.82
8.0.110.0080.00016.89
8.0.100.0070.00016.74
8.0.90.0040.00416.71
8.0.80.0040.01116.86
8.0.70.0060.00316.79
8.0.60.0070.00016.85
8.0.50.0080.00016.70
8.0.30.0100.00917.29
8.0.20.0120.00817.40
8.0.10.0000.00716.88
8.0.00.0100.00716.79
7.4.330.0000.00515.08
7.4.320.0000.00616.57
7.4.300.0030.00316.41
7.4.290.0030.00316.43
7.4.280.0070.00016.64
7.4.270.0030.00316.61
7.4.260.0000.00816.51
7.4.250.0040.00416.46
7.4.240.0070.00016.60
7.4.230.0000.00816.52
7.4.220.0100.01016.57
7.4.210.0050.01216.40
7.4.200.0040.00416.51
7.4.160.0030.01316.44
7.4.150.0050.01117.40
7.4.140.0110.01117.86
7.4.130.0100.01016.43
7.4.120.0110.01016.39
7.4.110.0120.00616.67
7.4.100.0070.01016.37
7.4.90.0070.01016.36
7.4.80.0030.01319.39
7.4.70.0090.00616.55
7.4.60.0000.01716.48
7.4.50.0070.01016.60
7.4.40.0050.01116.50
7.4.30.0090.00616.55
7.4.00.0030.01014.86
7.3.330.0000.00513.06
7.3.320.0000.00513.26
7.3.310.0000.00716.28
7.3.300.0040.00416.37
7.3.290.0030.00316.18
7.3.280.0090.00716.28
7.3.270.0030.01417.40
7.3.260.0090.00816.48
7.3.250.0120.00516.29
7.3.240.0060.01016.29
7.3.230.0100.00616.48
7.3.210.0100.00716.26
7.3.200.0100.00716.52
7.3.190.0100.00616.48
7.3.180.0180.00316.36
7.3.170.0030.01316.28
7.3.160.0130.00316.29
7.3.10.0210.00316.43
7.3.00.0100.00716.25
7.2.330.0120.00616.75
7.2.320.0030.01316.71
7.2.310.0090.00916.70
7.2.300.0030.01816.56
7.2.290.0090.00816.48
7.2.130.0150.00316.54
7.2.120.0030.00916.65
7.2.110.0070.00716.57
7.2.100.0090.00916.50
7.2.90.0180.00616.43
7.2.80.0120.00316.89
7.2.70.0100.00716.86
7.2.60.0090.00516.63
7.2.50.0120.00316.45
7.2.40.0060.00916.89
7.2.30.0240.00616.62
7.2.20.0180.01216.61
7.2.10.0340.00516.72
7.2.00.0110.01118.19
7.1.250.0140.00015.33
7.1.200.0030.00915.84
7.1.70.0000.00817.02
7.1.60.0140.00419.90
7.1.00.0030.07722.37
7.0.200.0710.00414.61
7.0.70.0370.05719.95
7.0.60.0330.06020.14
7.0.50.0470.04720.34
7.0.40.0330.05720.24
7.0.30.0400.05320.23
7.0.20.0400.05320.35
7.0.10.0370.05720.34
7.0.00.0370.05720.24
5.6.280.0030.07320.76
5.6.220.0300.06020.63
5.6.210.0330.05720.75
5.6.200.0330.05721.02
5.6.190.0300.06021.04
5.6.180.0370.05721.08
5.6.170.0270.06321.08
5.6.160.0230.06321.08
5.6.150.0400.05321.14
5.6.140.0370.05321.14
5.6.130.0400.06721.03
5.6.120.0100.06021.01
5.6.110.0270.05321.00
5.6.100.0400.05021.13
5.6.90.0270.06721.00
5.6.80.0230.06320.40
5.6.70.0470.04020.45
5.6.60.0270.05720.45
5.6.50.0430.05020.48
5.6.40.0330.05720.44
5.6.30.0430.05020.45
5.6.20.0470.04720.43
5.6.10.0430.05020.43
5.6.00.0400.05020.43
5.5.360.0300.06020.51
5.5.350.0200.06020.46
5.5.340.0330.05320.92
5.5.330.0400.04720.82
5.5.320.0330.05320.88
5.5.310.0330.05720.95
5.5.300.0270.05320.92
5.5.290.0370.06020.82
5.5.280.0000.07020.82
5.5.270.0230.07020.69
5.5.260.0330.05720.91
5.5.250.0430.04720.69
5.5.240.0270.06020.28
5.5.230.0370.07320.32
5.5.220.0470.06320.32
5.5.210.0370.05320.26
5.5.200.0400.05020.32
5.5.190.0470.07320.12
5.5.180.0330.06020.03
5.5.160.0330.05720.30
5.5.150.0400.04720.23
5.5.140.0400.05020.20
5.5.130.0330.05320.12
5.5.120.0400.05320.27
5.5.110.0270.06320.16
5.5.100.0270.06320.20
5.5.90.0370.05020.18
5.5.80.0300.05320.18
5.5.70.0370.05320.00
5.5.60.0330.05720.17
5.5.50.0330.05320.12
5.5.40.0330.07720.21
5.5.30.0270.06019.99
5.5.20.0270.06020.14
5.5.10.0270.06020.10
5.5.00.0470.05020.02

preferences:
69.45 ms | 401 KiB | 5 Q