3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str1 = "AWK-JES-0099"; $parts = explode("-",$str1); echo sprintf($parts[0] . '-' . $parts[1] . '-', $parts[2]+1);

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.00718.31
8.3.50.0140.00622.12
8.3.40.0090.00618.87
8.3.30.0100.00319.08
8.3.20.0080.00020.14
8.3.10.0000.00820.69
8.3.00.0050.00319.68
8.2.180.0210.00016.38
8.2.170.0150.00022.96
8.2.160.0100.00320.22
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00422.06
8.2.110.0070.00320.43
8.2.100.0040.00818.28
8.2.90.0040.00419.21
8.2.80.0030.00517.97
8.2.70.0040.00417.63
8.2.60.0030.00517.93
8.2.50.0040.00418.07
8.2.40.0030.00518.16
8.2.30.0000.00719.28
8.2.20.0040.00417.87
8.2.10.0040.00417.93
8.2.00.0040.00417.65
8.1.280.0070.00725.92
8.1.270.0000.00822.20
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0090.00020.44
8.1.230.0040.00717.64
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0000.00918.59
8.1.160.0040.00421.87
8.1.150.0070.00018.82
8.1.140.0030.00617.41
8.1.130.0070.00017.82
8.1.120.0030.00617.54
8.1.110.0030.00517.46
8.1.100.0000.00817.46
8.1.90.0030.00317.48
8.1.80.0040.00317.37
8.1.70.0030.00317.40
8.1.60.0060.00317.57
8.1.50.0080.00017.56
8.1.40.0040.00417.49
8.1.30.0040.00417.47
8.1.20.0000.00717.66
8.1.10.0000.00717.61
8.1.00.0050.00217.49
8.0.300.0080.00018.77
8.0.290.0040.00416.88
8.0.280.0040.00418.50
8.0.270.0030.00317.23
8.0.260.0000.00717.30
8.0.250.0050.00316.89
8.0.240.0030.00717.06
8.0.230.0000.00716.93
8.0.220.0070.00017.00
8.0.210.0070.00016.84
8.0.200.0000.00717.01
8.0.190.0030.00517.04
8.0.180.0030.00516.86
8.0.170.0030.00617.01
8.0.160.0040.00417.02
8.0.150.0030.00316.94
8.0.140.0040.00416.91
8.0.130.0000.00513.42
8.0.120.0030.00616.89
8.0.110.0030.00316.95
8.0.100.0070.00016.74
8.0.90.0040.00416.82
8.0.80.0090.01216.89
8.0.70.0070.00017.01
8.0.60.0030.00516.82
8.0.50.0000.00716.86
8.0.30.0110.01017.15
8.0.20.0080.01017.40
8.0.10.0070.00017.07
8.0.00.0080.00916.69
7.4.330.0000.00515.01
7.4.320.0060.00016.56
7.4.300.0030.00316.52
7.4.290.0030.00316.51
7.4.280.0040.00416.64
7.4.270.0040.00416.51
7.4.260.0050.00216.58
7.4.250.0070.00016.48
7.4.240.0030.00416.48
7.4.230.0030.00316.53
7.4.220.0140.00416.61
7.4.210.0040.01116.50
7.4.200.0000.00716.62
7.4.160.0090.01316.64
7.4.150.0140.00717.40
7.4.140.0040.01317.86
7.4.130.0070.01016.53
7.4.120.0070.01016.56
7.4.110.0000.02116.36
7.4.100.0160.00316.45
7.4.90.0110.00516.53
7.4.80.0030.01516.49
7.4.70.0100.00716.44
7.4.60.0080.00816.59
7.4.50.0000.00416.29
7.4.40.0170.00016.62
7.4.30.0130.00316.60
7.4.00.0110.00614.75
7.3.330.0030.00313.10
7.3.320.0030.00313.15
7.3.310.0050.00516.32
7.3.300.0000.00716.31
7.3.290.0090.00616.16
7.3.280.0100.00416.26
7.3.270.0110.00517.40
7.3.260.0130.00616.43
7.3.250.0120.00616.22
7.3.240.0130.00316.33
7.3.230.0110.00616.57
7.3.210.0100.00616.40
7.3.200.0090.01219.39
7.3.190.0120.01016.36
7.3.180.0030.01316.20
7.3.170.0100.00716.27
7.3.160.0100.00716.50
7.3.120.0070.01114.55
7.3.110.0080.00814.38
7.3.100.0030.01014.52
7.3.90.0000.01514.97
7.3.80.0160.00314.79
7.3.70.0060.00614.90
7.3.60.0090.00614.82
7.3.50.0000.01414.63
7.3.40.0060.00614.80
7.3.30.0100.00614.84
7.3.20.0060.00916.60
7.3.10.0030.01416.58
7.3.00.0070.00716.57
7.2.330.0190.00316.32
7.2.320.0080.00816.69
7.2.310.0080.01516.47
7.2.300.0040.01216.79
7.2.290.0090.00916.54
7.2.250.0090.00914.88
7.2.240.0000.02114.89
7.2.230.0130.00614.93
7.2.220.0000.01115.27
7.2.210.0000.01514.99
7.2.200.0090.00614.85
7.2.190.0070.00714.97
7.2.180.0060.01014.59
7.2.170.0040.01115.13
7.1.330.0070.00715.65
7.1.320.0090.00315.72
7.1.310.0030.01415.68
7.1.300.0070.00715.63
7.1.290.0000.00915.86
7.1.280.0000.01115.46
7.1.270.0100.00715.89
7.1.260.0090.00615.47
7.1.100.0040.01218.23
7.1.70.0060.01017.29
7.1.60.0130.01019.32
7.1.50.0100.01317.00
7.1.00.0000.07722.58
7.0.200.0000.01016.57
7.0.140.0000.07321.99
7.0.60.0070.06019.95
7.0.50.0030.07017.66
7.0.40.0030.04720.12
7.0.30.0230.04020.21
7.0.20.0300.07020.04
7.0.10.0030.08020.31
7.0.00.0070.08320.29
5.6.280.0130.06320.77
5.6.210.0100.08020.47
5.6.200.0130.07018.22
5.6.190.0170.04720.27
5.6.180.0330.04020.61
5.6.170.0330.05320.49
5.6.160.0130.06720.32
5.6.150.0030.04018.21
5.6.140.0130.05718.22
5.6.130.0030.07018.07
5.6.120.0000.04721.00
5.6.110.0170.07320.95
5.6.100.0100.08320.95
5.6.90.0030.07020.96
5.6.80.0100.07320.47
5.5.350.0170.04020.30
5.5.340.0100.06317.88
5.5.330.0030.05320.45
5.5.320.0430.06020.31
5.5.310.0030.05020.34
5.5.300.0100.05317.94
5.5.290.0030.06318.02
5.5.280.0100.06320.73
5.5.270.0130.07320.66
5.5.260.0100.06720.75
5.5.250.0070.04720.59
5.5.240.0070.04720.34
5.4.450.0170.06019.41
5.4.440.0730.05719.48
5.4.430.0800.05719.60
5.4.420.0830.05319.48
5.4.410.0800.05719.19
5.4.400.0700.06319.22
5.4.390.0800.06018.99
5.4.380.1170.05018.49
5.4.370.0970.06018.58
5.4.360.1000.05718.60
5.4.350.0800.06018.70
5.4.340.1030.05318.46
5.4.320.0080.03412.45
5.4.310.0030.03912.45
5.4.300.0030.04212.45
5.4.290.0070.03512.45
5.4.280.0060.03312.35
5.4.270.0020.03912.35
5.4.260.0070.04012.35
5.4.250.0080.03912.35
5.4.240.0030.04412.35
5.4.230.0030.04012.34
5.4.220.0080.03412.34
5.4.210.0080.03612.34
5.4.200.0040.03912.34
5.4.190.0040.03712.34
5.4.180.0040.03812.34
5.4.170.0060.04512.34
5.4.160.0070.03312.34
5.4.150.0060.03512.34
5.4.140.0050.03912.02
5.4.130.0040.03612.01
5.4.120.0040.03511.96
5.4.110.0120.03311.96
5.4.100.0030.03811.96
5.4.90.0080.03511.96
5.4.80.0050.03711.96
5.4.70.0110.02911.96
5.4.60.0040.03611.96
5.4.50.0050.03511.96
5.4.40.0040.04211.95
5.4.30.0060.04011.95
5.4.20.0070.03311.95
5.4.10.0090.03111.95
5.4.00.0090.03211.44
5.3.290.0060.04112.80
5.3.280.0040.04012.70
5.3.270.0060.04012.73
5.3.260.0040.04212.72
5.3.250.0050.03712.72
5.3.240.0060.04012.72
5.3.230.0070.03712.71
5.3.220.0030.04112.68
5.3.210.0100.03512.68
5.3.200.0060.03712.68
5.3.190.0060.04012.68
5.3.180.0050.03812.67
5.3.170.0080.03412.67
5.3.160.0070.03512.68
5.3.150.0030.03912.67
5.3.140.0040.03712.66
5.3.130.0050.04712.66
5.3.120.0050.03812.66
5.3.110.0090.03912.66
5.3.100.0080.03612.12
5.3.90.0070.03512.08
5.3.80.0060.04012.07
5.3.70.0060.03412.07
5.3.60.0070.03312.07
5.3.50.0040.04212.00
5.3.40.0060.03812.00
5.3.30.0060.03311.94
5.3.20.0090.03211.72
5.3.10.0060.03311.69
5.3.00.0080.04011.68
5.2.170.0040.0309.18
5.2.160.0070.0369.17
5.2.150.0050.0389.18
5.2.140.0090.0259.18
5.2.130.0090.0299.13
5.2.120.0030.0309.13
5.2.110.0060.0329.14
5.2.100.0080.0259.14
5.2.90.0030.0359.14
5.2.80.0000.0369.14
5.2.70.0050.0309.13
5.2.60.0040.0329.09
5.2.50.0060.0279.05
5.2.40.0040.0289.04
5.2.30.0070.0279.01
5.2.20.0040.0289.00
5.2.10.0100.0258.92
5.2.00.0060.0298.78
5.1.60.0060.0288.06
5.1.50.0060.0288.05
5.1.40.0040.0238.04
5.1.30.0060.0238.39
5.1.20.0040.0308.41
5.1.10.0070.0268.14
5.1.00.0070.0238.13
5.0.50.0040.0206.62
5.0.40.0050.0176.47
5.0.30.0070.0276.29
5.0.20.0060.0266.26
5.0.10.0030.0216.24
5.0.00.0020.0316.23
4.4.90.0040.0154.78
4.4.80.0060.0204.75
4.4.70.0030.0214.76
4.4.60.0040.0204.76
4.4.50.0050.0164.77
4.4.40.0030.0284.71
4.4.30.0020.0154.75
4.4.20.0050.0204.85
4.4.10.0010.0174.85
4.4.00.0030.0254.76
4.3.110.0040.0164.67
4.3.100.0030.0174.67
4.3.90.0080.0264.63
4.3.80.0040.0224.58
4.3.70.0030.0144.63
4.3.60.0020.0144.63
4.3.50.0040.0144.62
4.3.40.0020.0254.54
4.3.30.0040.0173.29
4.3.20.0020.0243.26
4.3.10.0010.0223.21
4.3.00.0100.0136.80

preferences:
43.97 ms | 401 KiB | 5 Q