3v4l.org

run code in 300+ PHP versions simultaneously
<?php $num1 = ord(substr(md5('password'),5,1)) * ord(substr(md5('password'),10,1)) * substr(md5('password'), 3, 1) - (ord('F')*100+ord('K')); echo $num1; ?>

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.01116.61
8.3.50.0110.00720.96
8.3.40.0100.01018.79
8.3.30.0120.00618.50
8.3.20.0070.00020.34
8.3.10.0040.00423.61
8.3.00.0040.00419.56
8.2.180.0110.00718.41
8.2.170.0150.00022.96
8.2.160.0160.00320.22
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00817.63
8.2.110.0090.00022.22
8.2.100.0040.00817.75
8.2.90.0000.00719.23
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0090.00017.68
8.2.50.0080.00018.07
8.2.40.0060.00321.02
8.2.30.0030.00320.50
8.2.20.0000.00817.64
8.2.10.0050.00318.12
8.2.00.0000.00717.94
8.1.280.0090.00625.92
8.1.270.0160.00323.91
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00322.39
8.1.230.0000.01117.48
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0050.00317.25
8.1.180.0040.00418.10
8.1.170.0040.00420.23
8.1.160.0000.00721.92
8.1.150.0040.00418.71
8.1.140.0000.00819.38
8.1.130.0040.00417.60
8.1.120.0000.00717.34
8.1.110.0040.00417.25
8.1.100.0030.00517.32
8.1.90.0040.00417.36
8.1.80.0040.00417.32
8.1.70.0070.00017.34
8.1.60.0000.00817.45
8.1.50.0050.00517.31
8.1.40.0000.01017.48
8.1.30.0060.00317.66
8.1.20.0000.00817.61
8.1.10.0000.00817.56
8.1.00.0040.00417.47
8.0.300.0050.00218.77
8.0.290.0020.00516.75
8.0.280.0070.00018.50
8.0.270.0030.00317.22
8.0.260.0030.00317.32
8.0.250.0040.00416.90
8.0.240.0050.00317.04
8.0.230.0040.00417.03
8.0.220.0030.00316.89
8.0.210.0040.00316.81
8.0.200.0030.00316.93
8.0.190.0040.00416.89
8.0.180.0030.00616.94
8.0.170.0040.00416.94
8.0.160.0040.00416.89
8.0.150.0000.00716.78
8.0.140.0070.00016.87
8.0.130.0070.00013.34
8.0.120.0040.00416.88
8.0.110.0000.00816.76
8.0.100.0000.00716.88
8.0.90.0030.00516.92
8.0.80.0130.00916.93
8.0.70.0070.00016.75
8.0.60.0040.00416.74
8.0.50.0040.00416.89
8.0.30.0060.01216.99
8.0.20.0080.01317.40
8.0.10.0030.00616.89
8.0.00.0070.01216.62
7.4.330.0050.00015.08
7.4.320.0060.00016.57
7.4.300.0030.00316.49
7.4.290.0000.00716.57
7.4.280.0000.00716.54
7.4.270.0030.00316.45
7.4.260.0080.00016.51
7.4.250.0000.00816.41
7.4.240.0040.00316.45
7.4.230.0020.00516.65
7.4.220.0190.00416.64
7.4.210.0100.01016.42
7.4.200.0030.00316.64
7.4.160.0000.01516.51
7.4.150.0140.01017.40
7.4.140.0060.01117.86
7.4.130.0130.00616.61
7.4.120.0110.00716.46
7.4.110.0040.01616.47
7.4.100.0090.00916.49
7.4.90.0140.00316.53
7.4.80.0140.01019.39
7.4.70.0070.01416.44
7.4.60.0100.00716.46
7.4.50.0060.00316.14
7.4.40.0080.00816.31
7.4.30.0100.01016.57
7.4.00.0080.00814.80
7.3.330.0060.00013.14
7.3.320.0020.00213.07
7.3.310.0060.00016.49
7.3.300.0000.00616.32
7.3.290.0060.00916.28
7.3.280.0100.00816.33
7.3.270.0030.01517.40
7.3.260.0080.00816.67
7.3.240.0160.00516.43
7.3.230.0100.00716.44
7.3.210.0110.00616.41
7.3.200.0120.01216.20
7.3.190.0070.01016.29
7.3.180.0090.00616.29
7.3.170.0130.00916.52
7.3.160.0070.01016.39
7.3.120.0000.01715.09
7.3.110.0030.01014.88
7.3.100.0060.00614.67
7.3.90.0060.00914.74
7.3.80.0000.01514.98
7.3.70.0030.00614.93
7.3.60.0100.00314.84
7.3.50.0000.01614.80
7.3.40.0090.00314.83
7.3.30.0120.00314.63
7.3.20.0030.01216.45
7.3.10.0080.00416.48
7.3.00.0060.00316.42
7.2.330.0060.01216.61
7.2.320.0080.00916.57
7.2.310.0170.00716.64
7.2.300.0070.01016.60
7.2.290.0090.00916.31
7.2.240.0030.01014.89
7.2.230.0090.00314.91
7.2.220.0100.00315.12
7.2.210.0100.00314.76
7.2.200.0000.01714.60
7.2.190.0040.00814.79
7.2.180.0110.00415.15
7.2.170.0070.00314.77
7.2.160.0040.00914.87
7.2.150.0070.01016.72
7.2.140.0140.00016.70
7.2.130.0070.00716.77
7.2.120.0040.00716.72
7.2.110.0070.01016.88
7.2.100.0090.00316.75
7.2.90.0080.00816.76
7.2.80.0030.00916.80
7.2.70.0030.00616.60
7.2.60.0060.00916.83
7.2.50.0090.00616.87
7.2.40.0120.00316.75
7.2.30.0090.00616.65
7.2.20.0030.01316.66
7.2.10.0030.00716.86
7.2.00.0050.01018.19
7.1.330.0040.00715.61
7.1.320.0090.00916.01
7.1.310.0030.01015.73
7.1.300.0070.00715.68
7.1.290.0040.00715.63
7.1.280.0070.00415.73
7.1.270.0100.00315.71
7.1.260.0080.00315.69
7.1.250.0030.01015.79
7.1.200.0060.00615.83
7.1.100.0000.00817.98
7.1.70.0070.00717.16
7.1.60.0120.01219.50
7.1.50.0100.01016.63
7.1.00.0030.07722.33
7.0.200.0030.00316.71
7.0.100.0130.05019.95
7.0.90.0070.05719.88
7.0.80.0170.04319.93
7.0.70.0170.05019.97
7.0.60.0170.04320.07
7.0.50.0170.03720.27
7.0.40.0070.05320.12
7.0.30.0030.04720.04
7.0.20.0130.04020.11
7.0.10.0070.04020.18
7.0.00.0100.06020.10
5.6.280.0030.04321.00
5.6.250.0100.05720.72
5.6.240.0100.05020.75
5.6.230.0170.04720.54
5.6.220.0130.07020.67
5.6.210.0100.08020.58
5.6.200.0130.07721.14
5.6.190.0100.04720.98
5.6.180.0070.04721.04
5.6.170.0100.05720.95
5.6.160.0000.07721.08
5.6.150.0070.06720.96
5.6.140.0030.07021.01
5.6.130.0070.07721.03
5.6.120.0070.04021.13
5.6.110.0070.04021.15
5.6.100.0130.04021.12
5.6.90.0000.08021.00
5.6.80.0100.05020.43
5.6.70.0030.05020.37
5.6.60.0070.04720.31
5.6.50.0030.04320.36
5.6.40.0200.06320.41
5.6.30.0000.06720.27
5.6.20.0030.06720.28
5.6.10.0070.04020.34
5.6.00.0170.05720.36
5.5.380.0070.06020.50
5.5.370.0030.04320.48
5.5.360.0030.06020.49
5.5.350.0000.05720.39
5.5.340.0070.06020.92
5.5.330.0030.06020.79
5.5.320.0030.07320.83
5.5.310.0030.04720.80
5.5.300.0100.07720.88
5.5.290.0030.05020.81
5.5.280.0100.04320.91
5.5.270.0100.08020.63
5.5.260.0030.09020.63
5.5.250.0170.07320.72
5.5.240.0000.04720.02
5.5.230.0070.06720.17
5.5.220.0130.05020.25
5.5.210.0030.06720.30
5.5.200.0030.05020.15
5.5.190.0070.06020.27
5.5.180.0200.04020.08
5.5.160.0070.05320.14
5.5.150.0130.05020.18
5.5.140.0100.07320.15
5.5.130.0130.06020.14
5.5.120.0100.04020.24
5.5.110.0130.03720.12
5.5.100.0130.07020.07
5.5.90.0070.06720.16
5.5.80.0000.06020.06
5.5.70.0030.05319.99
5.5.60.0070.04320.05
5.5.50.0070.05720.09
5.5.40.0130.06320.07
5.5.30.0030.06320.05
5.5.20.0100.06720.14
5.5.10.0030.04719.95
5.5.00.0070.05720.05
5.4.450.0000.04719.14
5.4.440.0070.07019.29
5.4.430.0200.05019.25
5.4.420.0100.07019.22
5.4.410.0100.04019.34
5.4.400.0070.04718.82
5.4.390.0100.03318.97
5.4.380.0130.03319.12
5.4.370.0130.03718.90
5.4.360.0000.04319.09
5.4.350.0070.05019.06
5.4.340.0030.06019.12
5.4.320.0100.07719.12
5.4.310.0000.05319.04
5.4.300.0030.06319.03
5.4.290.0070.04719.22
5.4.280.0070.06018.89
5.4.270.0030.05319.05
5.4.260.0030.07019.09
5.4.250.0070.05319.02
5.4.240.0030.07018.97
5.4.230.0100.06718.80
5.4.220.0030.08019.04
5.4.210.0200.07318.80
5.4.200.0100.06319.14
5.4.190.0100.03719.06
5.4.180.0030.06018.95
5.4.170.0070.05719.12
5.4.160.0070.03719.09
5.4.150.0000.05319.13
5.4.140.0000.05016.29
5.4.130.0070.05716.36
5.4.120.0070.06316.38
5.4.110.0030.03716.34
5.4.100.0100.05016.41
5.4.90.0030.07716.23
5.4.80.0100.05016.25
5.4.70.0170.06016.20
5.4.60.0030.05316.23
5.4.50.0070.06316.31
5.4.40.0030.07016.49
5.4.30.0000.05016.41
5.4.20.0030.04316.40
5.4.10.0070.05716.28
5.4.00.0200.03715.51

preferences:
52.9 ms | 401 KiB | 5 Q