3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* * Fill in all five below and click blue 'eval();' button below textarea. * * ------------------ */ $hash = ''; #Hash SHA256 $secret = ''; #Secret $minefield = ''; #Mminefield /* ------------------ */ if ($hash == '' || $secret == '' || $minefield == '') exit("Fill in details"); $sha256 = hash('sha256', $minefield.'|'.$secret); echo "Hash matches: ".($hash == $sha256 ? 'Yes': 'No')."\n";

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.4.10.0130.00717.95
8.3.140.0000.00916.63
8.3.130.0000.01616.61
8.3.120.0080.00318.76
8.3.110.0000.01220.94
8.3.100.0110.00424.06
8.3.90.0080.00026.77
8.3.80.0060.00319.36
8.3.70.0120.00316.58
8.3.60.0130.00318.68
8.3.50.0100.00316.29
8.3.40.0170.01318.47
8.3.30.0110.00318.68
8.3.20.0050.00224.18
8.3.10.0080.00024.66
8.3.00.0000.00826.16
8.2.250.0050.00318.57
8.2.240.0080.00017.21
8.2.230.0110.00822.58
8.2.220.0040.00437.54
8.2.210.0120.00626.77
8.2.200.0050.00518.88
8.2.190.0120.00318.29
8.2.180.0130.00725.92
8.2.170.0100.01018.98
8.2.160.0040.01122.96
8.2.150.0070.00025.66
8.2.140.0060.01024.66
8.2.130.0050.00326.16
8.2.120.0040.00420.75
8.2.110.0090.00020.21
8.2.100.0080.00317.72
8.2.90.0040.00419.09
8.2.80.0080.00017.97
8.2.70.0030.00617.63
8.2.60.0000.00817.75
8.2.50.0050.00318.10
8.2.40.0030.00621.08
8.2.30.0030.00519.11
8.2.20.0050.00218.11
8.2.10.0000.00719.34
8.2.00.0040.00419.33
8.1.300.0090.00920.20
8.1.290.0030.00630.84
8.1.280.0150.00625.92
8.1.270.0000.00923.99
8.1.260.0050.00326.35
8.1.250.0030.00628.09
8.1.240.0070.00322.11
8.1.230.0030.00722.21
8.1.220.0000.00817.77
8.1.210.0040.00418.77
8.1.200.0000.00917.36
8.1.190.0040.00417.13
8.1.180.0040.00418.10
8.1.170.0090.00018.40
8.1.160.0040.00418.86
8.1.150.0040.00418.88
8.1.140.0050.00318.77
8.1.130.0030.00317.35
8.1.120.0000.00817.44
8.1.110.0070.00017.33
8.1.100.0030.00617.43
8.1.90.0070.00017.46
8.1.80.0090.00017.44
8.1.70.0000.00717.40
8.1.60.0040.00417.55
8.1.50.0090.00017.48
8.1.40.0070.00017.37
8.1.30.0040.00517.57
8.1.20.0100.00817.61
8.1.10.0120.00517.43
8.1.00.0080.00817.45
8.0.300.0000.01118.77
8.0.290.0040.00416.88
8.0.280.0000.00718.35
8.0.270.0040.00416.80
8.0.260.0030.00316.93
8.0.250.0040.00416.94
8.0.240.0040.00416.98
8.0.230.0030.00317.00
8.0.220.0000.00716.94
8.0.210.0000.00716.93
8.0.200.0060.00016.91
8.0.190.0040.00417.06
8.0.180.0040.00417.02
8.0.170.0060.00316.97
8.0.160.0110.00316.88
8.0.150.0130.00216.86
8.0.140.0120.00316.93
8.0.130.0110.00515.17
8.0.120.0090.00516.86
8.0.110.0090.00616.82
8.0.100.0110.00616.85
8.0.90.0110.00616.96
8.0.80.0090.00916.89
8.0.70.0080.00616.86
8.0.60.0100.00516.80
8.0.50.0100.00516.81
8.0.30.0110.01216.84
8.0.20.0140.00517.00
8.0.10.0140.00616.99
8.0.00.0100.00817.09
7.4.330.0020.00215.55
7.4.320.0030.00316.57
7.4.300.0000.00816.51
7.4.290.0040.00416.33
7.4.280.0020.00616.43
7.4.270.0120.00416.56
7.4.260.0110.00414.80
7.4.250.0140.00316.48
7.4.240.0120.00416.47
7.4.230.0120.00316.38
7.4.220.0070.00516.42
7.4.210.0120.00616.59
7.4.200.0050.00916.59
7.4.190.0090.00716.55
7.4.180.0100.01016.54
7.4.160.0110.00716.48
7.4.150.0100.00916.47
7.4.140.0090.00716.33
7.4.130.0140.00516.41
7.4.120.0070.00716.33
7.4.110.0080.00516.42
7.4.100.0090.00716.48
7.4.90.0090.00916.38
7.4.80.0110.00616.38
7.4.70.0100.00816.42
7.4.60.0110.00616.48
7.4.50.0060.01016.34
7.4.40.0090.00916.38
7.4.30.0110.00816.40
7.4.20.0090.00916.52
7.4.10.0160.00316.43
7.4.00.0060.01116.44
7.3.330.0090.00416.12
7.3.320.0110.00214.63
7.3.310.0090.00516.07
7.3.300.0090.00516.21
7.3.290.0090.01016.25
7.3.280.0140.00816.27
7.3.270.0140.00716.10
7.3.260.0110.00816.18
7.3.250.0150.00716.12
7.3.240.0130.00716.24
7.3.230.0120.00516.19
7.3.220.0120.00516.19
7.3.210.0070.01116.21
7.3.200.0140.00316.14
7.3.190.0140.00416.12
7.3.180.0130.00516.03
7.3.170.0140.00616.21
7.3.160.0140.00316.18
7.3.150.0110.00716.10
7.3.140.0110.00716.05
7.3.130.0110.00916.09
7.3.120.0110.00816.15
7.3.110.0080.01216.14
7.3.100.0080.01016.01
7.3.90.0080.00516.38
7.3.80.0110.00416.10
7.3.70.0120.00716.26
7.3.60.0110.00516.39
7.3.50.0070.00916.43
7.3.40.0100.00816.35
7.3.30.0100.00616.34
7.3.20.0090.00718.13
7.3.10.0170.00318.13
7.3.00.0160.00518.15

preferences:
67.3 ms | 403 KiB | 5 Q