3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strmnth = "01-".date("Y"); $endmnth2 = date("m"); $stmnt = 1; $endmnth = "".date("m-Y"); echo $strmnth; echo "<br>".$endmnth2; echo "<br>".$stmnt; echo "<br>".$endmnth; ?>

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.0000.01518.40
8.3.50.0130.00821.09
8.3.40.0140.00718.61
8.3.30.0100.00320.39
8.3.20.0000.00820.21
8.3.10.0040.00421.08
8.3.00.0000.00722.39
8.2.180.0100.00716.38
8.2.170.0140.00022.96
8.2.160.0100.00322.13
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00420.82
8.2.110.0030.00622.25
8.2.100.0080.00419.64
8.2.90.0030.00619.39
8.2.80.0040.00419.39
8.2.70.0090.00017.63
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0090.00018.21
8.2.30.0000.00719.43
8.2.20.0000.00717.59
8.2.10.0000.00817.88
8.2.00.0050.00217.68
8.1.280.0040.01125.92
8.1.270.0040.00423.99
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0030.00620.64
8.1.230.0040.00717.89
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0060.00617.35
8.1.190.0000.00817.53
8.1.180.0040.00418.10
8.1.170.0050.00318.50
8.1.160.0000.00818.84
8.1.150.0000.00718.74
8.1.140.0040.00417.46
8.1.130.0040.00417.76
8.1.120.0020.00517.45
8.1.110.0040.00417.54
8.1.100.0080.00017.51
8.1.90.0000.00717.50
8.1.80.0040.00417.41
8.1.70.0030.00317.50
8.1.60.0000.00917.58
8.1.50.0060.00317.57
8.1.40.0040.00417.50
8.1.30.0000.00717.57
8.1.20.0040.00417.57
8.1.10.0040.00417.62
8.1.00.0040.00417.59
8.0.300.0000.00718.77
8.0.290.0080.00017.30
8.0.280.0070.00018.50
8.0.270.0070.00017.25
8.0.260.0040.00416.95
8.0.250.0000.00717.00
8.0.240.0080.00017.13
8.0.230.0000.00716.99
8.0.220.0000.00716.99
8.0.210.0000.00717.06
8.0.200.0070.00017.06
8.0.190.0000.00916.93
8.0.180.0000.00716.99
8.0.170.0080.00016.91
8.0.160.0030.00316.91
8.0.150.0000.00816.80
8.0.140.0070.00016.83
8.0.130.0000.00513.29
8.0.120.0050.00216.83
8.0.110.0000.00816.85
8.0.100.0040.00417.02
8.0.90.0000.00716.96
8.0.80.0100.01016.95
8.0.70.0040.00416.70
8.0.60.0000.00816.90
8.0.50.0080.00016.71
8.0.30.0110.00717.01
8.0.20.0100.01217.40
8.0.10.0040.00417.13
8.0.00.0100.01116.75
7.4.330.0000.00516.66
7.4.320.0000.00616.53
7.4.300.0060.00016.50
7.4.290.0030.00316.55
7.4.280.0070.00016.50
7.4.270.0030.00316.61
7.4.260.0020.00313.25
7.4.250.0070.00016.55
7.4.240.0000.00716.54
7.4.230.0030.00316.59
7.4.220.0120.00616.46
7.4.210.0050.01016.63
7.4.200.0030.00316.31
7.4.190.0070.00016.50
7.4.160.0120.00416.43
7.4.150.0130.00617.40
7.4.140.0100.01117.86
7.4.130.0100.00616.39
7.4.120.0070.01216.64
7.4.110.0070.01116.40
7.4.100.0150.00816.63
7.4.90.0060.01216.55
7.4.80.0070.01119.39
7.4.70.0110.00616.44
7.4.60.0130.00616.43
7.4.50.0060.00016.57
7.4.40.0000.01222.77
7.4.30.0060.00916.32
7.4.00.0040.00415.02
7.3.330.0020.00213.23
7.3.320.0020.00213.16
7.3.310.0000.00716.27
7.3.300.0030.00316.32
7.3.290.0060.00716.35
7.3.280.0060.01016.31
7.3.270.0070.01017.40
7.3.260.0100.00718.24
7.3.250.0170.01816.51
7.3.240.0100.01016.74
7.3.230.0060.01016.76
7.3.210.0140.00416.44
7.3.200.0030.01319.39
7.3.190.0130.00616.43
7.3.180.0120.00316.30
7.3.170.0120.00316.32
7.3.160.0060.00916.57
7.3.120.0120.00315.07
7.3.10.0110.00416.49
7.3.00.0080.00016.42
7.2.330.0110.00916.54
7.2.320.0140.00816.70
7.2.310.0130.00616.86
7.2.300.0070.01016.64
7.2.290.0000.01516.58
7.2.130.0100.00716.91
7.2.120.0030.01216.86
7.2.110.0100.00717.05
7.2.100.0060.00916.95
7.2.90.0110.00317.21
7.2.80.0090.00617.05
7.2.70.0060.00316.93
7.2.60.0060.00917.01
7.2.50.0070.00317.00
7.2.40.0070.01017.01
7.2.30.0030.01217.02
7.2.20.0100.00617.01
7.2.10.0000.01416.66
7.2.00.0050.01018.23
7.1.250.0030.00915.97
7.1.100.0230.00418.20
7.1.70.0090.00917.24
7.1.60.0130.01019.17
7.1.50.0040.01817.08
7.1.00.0030.03322.44
7.0.200.0160.01014.46
7.0.140.0030.07022.09
7.0.80.0430.08320.02
7.0.70.0400.08019.85
7.0.60.0300.08019.91
7.0.50.0300.07320.20
7.0.40.0130.08720.13
7.0.30.0100.06720.09
7.0.20.0200.05020.03
7.0.10.0030.08020.10
7.0.00.0100.06319.93
5.6.280.0100.07021.14
5.6.230.0070.04020.68
5.6.220.0100.07320.63
5.6.210.0030.05020.49
5.6.200.0030.05021.02
5.6.190.0030.04321.04
5.6.180.0100.05721.01
5.6.170.0130.07321.05
5.6.160.0000.08720.88
5.6.150.0100.05720.93
5.6.140.0130.07721.01
5.6.130.0100.08321.04
5.6.120.0070.07720.93
5.6.110.0070.05020.95
5.6.100.0100.07720.93
5.6.90.0070.04021.14
5.6.80.0030.04320.40
5.6.70.0200.06020.45
5.6.60.0100.06720.38
5.6.50.0100.07720.38
5.6.40.0070.07720.28
5.6.30.0030.06320.38
5.6.20.0100.06720.51
5.6.10.0070.08020.39
5.6.00.0130.07320.32
5.5.370.0130.07320.39
5.5.360.0130.07720.37
5.5.350.0070.08020.43
5.5.340.0030.07720.88
5.5.330.0070.06720.86
5.5.320.0000.06020.72
5.5.310.0100.06720.79
5.5.300.0030.09320.87
5.5.290.0100.07320.84
5.5.280.0000.08320.85
5.5.270.0030.07320.88
5.5.260.0030.05720.80
5.5.250.0030.04020.71
5.5.240.0130.06320.27
5.5.230.0070.08020.29
5.5.220.0130.03720.18
5.5.210.0070.04020.19
5.5.200.0030.04720.21
5.5.190.0130.03020.12
5.5.180.0030.04720.09
5.5.160.0030.07320.07
5.5.150.0070.03720.18
5.5.140.0070.05320.11
5.5.130.0100.07020.16
5.5.120.0070.07020.26
5.5.110.0070.03320.11
5.5.100.0030.03720.02
5.5.90.0170.06019.96
5.5.80.0130.07320.05
5.5.70.0130.07020.02
5.5.60.0170.06020.09
5.5.50.0070.06320.11
5.5.40.0070.06719.92
5.5.30.0030.07020.06
5.5.20.0070.07720.13
5.5.10.0130.06720.07
5.5.00.0030.08020.09
5.4.450.0000.08719.34
5.4.440.0030.03719.38
5.4.430.0000.04019.25
5.4.420.0000.08319.42
5.4.410.0030.04019.42
5.4.400.0100.07019.12
5.4.390.0130.02719.04
5.4.380.0100.07019.04
5.4.370.0100.06319.14
5.4.360.0030.06718.80
5.4.350.0100.06719.10
5.4.340.0070.07719.11
5.4.320.0000.08319.11
5.4.310.0100.04018.96
5.4.300.0070.04319.13
5.4.290.0030.06719.10
5.4.280.0030.06018.97
5.4.270.0070.04319.01
5.4.260.0030.05719.03
5.4.250.0100.06719.03
5.4.240.0030.08018.95
5.4.230.0130.06719.00
5.4.220.0100.03019.03
5.4.210.0030.03719.09
5.4.200.0100.03319.10
5.4.190.0170.06719.03
5.4.180.0030.06319.13
5.4.170.0170.06319.09
5.4.160.0170.06319.00
5.4.150.0000.04019.00
5.4.140.0000.06016.25
5.4.130.0100.06716.23
5.4.120.0030.03316.27
5.4.110.0030.06316.30
5.4.100.0100.04016.42
5.4.90.0000.03716.26
5.4.80.0070.06716.45
5.4.70.0100.07016.48
5.4.60.0030.07316.39
5.4.50.0000.05716.39
5.4.40.0030.07316.23
5.4.30.0130.06716.27
5.4.20.0000.05016.23
5.4.10.0000.03716.37
5.4.00.0000.07315.74
5.3.290.0100.04314.50
5.3.280.0100.06714.55
5.3.270.0070.07714.43
5.3.260.0000.03714.54
5.3.250.0030.04714.55
5.3.240.0070.06314.60
5.3.230.0070.07014.45
5.3.220.0100.03014.42
5.3.210.0030.04714.57
5.3.200.0030.06714.55
5.3.190.0030.07014.43
5.3.180.0030.04314.38
5.3.170.0070.06714.57
5.3.160.0000.07714.55
5.3.150.0030.03714.55
5.3.140.0030.03714.54
5.3.130.0170.02314.42
5.3.120.0100.07014.54
5.3.110.0030.07014.40
5.3.100.0070.04013.89
5.3.90.0100.04713.83
5.3.80.0070.07314.01
5.3.70.0100.06014.00
5.3.60.0000.08013.77
5.3.50.0100.03313.90
5.3.40.0070.03313.80
5.3.30.0070.07713.76
5.3.20.0070.07013.67
5.3.10.0070.03313.61
5.3.00.0070.06713.41
5.2.170.0100.03311.09
5.2.160.0170.05011.16
5.2.150.0070.06011.13
5.2.140.0000.03711.17
5.2.130.0030.06011.09
5.2.120.0070.06311.09
5.2.110.0030.05711.05
5.2.100.0030.03311.04
5.2.90.0030.05311.13
5.2.80.0070.02710.94
5.2.70.0100.06711.05
5.2.60.0070.04311.11
5.2.50.0000.03710.80
5.2.40.0030.04310.97
5.2.30.0030.06310.83
5.2.20.0000.06010.96
5.2.10.0070.06010.88
5.2.00.0030.05310.81
5.1.60.0100.0479.83
5.1.50.0030.03310.02
5.1.40.0000.0309.95
5.1.30.0100.05010.42
5.1.20.0070.03710.36
5.1.10.0070.05010.17
5.1.00.0070.05010.14
5.0.50.0100.0308.57
5.0.40.0030.0438.43
5.0.30.0000.0678.30
5.0.20.0070.0238.18
5.0.10.0030.0278.27
5.0.00.0070.0508.20
4.4.90.0070.0306.92
4.4.80.0000.0276.92
4.4.70.0000.0306.92
4.4.60.0000.0306.92
4.4.50.0030.0176.92
4.4.40.0030.0376.92
4.4.30.0000.0236.92
4.4.20.0000.0236.92
4.4.10.0030.0376.92
4.4.00.0070.0476.92
4.3.110.0000.0276.92
4.3.100.0000.0206.92
4.3.90.0070.0276.92
4.3.80.0000.0506.92
4.3.70.0070.0306.92
4.3.60.0070.0206.92
4.3.50.0100.0306.92
4.3.40.0030.0506.92
4.3.30.0000.0376.92
4.3.20.0000.0306.92
4.3.10.0000.0176.92
4.3.00.0000.0206.92

preferences:
45.33 ms | 401 KiB | 5 Q