3v4l.org

run code in 300+ PHP versions simultaneously
<?php $skid_num = 0; $per_skid = 3; $num_of_skids = 50; $mfg_begin = 0; for( $x = 0; $x <= $num_of_skids; $x++) { $skid_num++; if((($per_skid+$skid_num) % ($per_skid))==0) { $mfg_begin = $skid_num-1; } $mfg_end_num = $skid_num; echo("SKID # " . str_pad($skid_num, 2, " ", STR_PAD_RIGHT) . " " . $cst_prefix . $cst_begin . "-" . $cst_prefix . $cst_end . str_pad( " ", 5, " ") . $mfg_prefix . $mfg_begin_num . "-" . $mfg_prefix . $mfg_end_num . "\r\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.3.60.0070.01318.56
8.3.50.0180.00622.06
8.3.40.0000.01518.70
8.3.30.0170.00318.89
8.3.20.0000.00820.20
8.3.10.0000.00822.05
8.3.00.0040.00422.43
8.2.180.0130.00616.38
8.2.170.0130.00322.96
8.2.160.0120.00320.90
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0060.00319.36
8.2.110.0070.00321.18
8.2.100.0060.00617.78
8.2.90.0000.00919.17
8.2.80.0040.00417.97
8.2.70.0000.00917.63
8.2.60.0060.00318.04
8.2.50.0000.00818.07
8.2.40.0080.00018.16
8.2.30.0030.00518.00
8.2.20.0040.00417.68
8.2.10.0000.00817.77
8.2.00.0040.00417.89
8.1.280.0110.01125.92
8.1.270.0030.00523.84
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0100.00023.92
8.1.230.0080.00318.96
8.1.220.0000.00817.76
8.1.210.0100.00018.77
8.1.200.0060.00317.35
8.1.190.0090.00017.39
8.1.180.0000.00818.10
8.1.170.0060.00318.50
8.1.160.0040.00422.02
8.1.150.0060.00318.70
8.1.140.0000.00717.41
8.1.130.0050.00317.43
8.1.120.0040.00417.45
8.1.110.0050.00317.52
8.1.100.0040.00417.42
8.1.90.0040.00417.37
8.1.80.0070.00417.41
8.1.70.0050.00217.41
8.1.60.0060.00317.61
8.1.50.0050.00317.50
8.1.40.0040.00417.53
8.1.30.0030.00617.68
8.1.20.0050.00317.66
8.1.10.0040.00417.55
8.1.00.0030.00617.35
8.0.300.0040.00418.77
8.0.290.0040.00417.28
8.0.280.0000.00718.47
8.0.270.0070.00017.28
8.0.260.0000.00716.89
8.0.250.0000.00717.02
8.0.240.0060.00617.05
8.0.230.0000.00816.87
8.0.220.0000.00716.85
8.0.210.0030.00316.96
8.0.200.0040.00416.93
8.0.190.0000.00817.00
8.0.180.0000.00817.00
8.0.170.0080.00016.89
8.0.160.0040.00417.04
8.0.150.0070.00016.94
8.0.140.0030.00516.84
8.0.130.0000.00713.37
8.0.120.0030.00516.84
8.0.110.0060.00316.93
8.0.100.0050.00217.04
8.0.90.0040.00416.95
8.0.80.0090.01217.03
8.0.70.0040.00416.95
8.0.60.0000.00816.94
8.0.50.0030.00617.01
8.0.30.0110.01116.99
8.0.20.0110.01017.42
8.0.10.0000.00917.12
8.0.00.0080.01316.72
7.4.330.0050.00015.00
7.4.320.0000.00716.64
7.4.300.0030.00316.41
7.4.290.0000.00816.55
7.4.280.0040.00416.58
7.4.270.0080.00016.44
7.4.260.0000.01016.46
7.4.250.0060.00316.48
7.4.240.0040.00416.55
7.4.230.0070.00016.29
7.4.220.0100.01616.64
7.4.210.0100.01016.48
7.4.200.0000.00716.38
7.4.190.0060.00316.59
7.4.160.0070.01016.58
7.4.150.0210.00017.40
7.4.140.0140.01117.86
7.4.130.0070.01316.56
7.4.120.0140.01016.54
7.4.110.0060.01416.57
7.4.100.0100.01016.63
7.4.90.0160.00416.48
7.4.80.0110.00816.51
7.4.70.0070.01316.48
7.4.60.0070.01016.48
7.4.50.0030.00616.65
7.4.40.0110.00422.77
7.4.30.0130.00516.59
7.4.00.0040.01114.93
7.3.330.0000.00513.13
7.3.320.0000.00513.32
7.3.310.0020.00516.30
7.3.300.0030.00316.42
7.3.290.0130.00316.36
7.3.280.0090.01116.38
7.3.270.0060.01617.40
7.3.260.0230.00316.38
7.3.250.0110.00916.42
7.3.240.0000.01916.61
7.3.230.0120.00616.39
7.3.210.0060.01616.35
7.3.200.0080.01519.39
7.3.190.0130.01016.62
7.3.180.0030.01716.63
7.3.170.0090.00916.52
7.3.160.0080.01216.45
7.3.120.0110.00414.91
7.2.330.0070.01316.71
7.2.320.0080.01116.63
7.2.310.0060.01216.72
7.2.300.0090.00916.68
7.2.290.0120.00616.78
7.1.200.0040.01115.71
7.1.100.0430.00314.23
7.1.70.0000.01117.18
7.1.60.0130.01319.82
7.1.50.0110.01416.94
7.1.00.0000.08022.57
7.0.200.0030.00716.89
7.0.140.0070.07021.95
7.0.70.0030.08021.77
7.0.60.0030.08021.61
7.0.50.0070.08022.14
7.0.40.0030.08320.18
7.0.30.0100.07319.99
7.0.20.0030.08320.09
7.0.10.0030.05019.98
7.0.00.0030.08320.11
5.6.280.0100.07020.86
5.6.220.0030.07720.62
5.6.210.0100.06720.44
5.6.200.0100.08320.92
5.6.190.0070.08021.06
5.6.180.0000.07721.01
5.6.170.0030.08321.16
5.6.160.0000.08721.04
5.6.150.0030.07321.11
5.6.140.0100.07720.93
5.6.130.0000.09321.08
5.6.120.0070.08021.01
5.6.110.0130.06021.05
5.6.100.0070.08721.02
5.6.90.0070.07020.91
5.6.80.0030.08320.41
5.6.70.0100.07320.32
5.6.60.0070.07720.40
5.6.50.0100.07720.36
5.6.40.0030.08320.30
5.6.30.0000.04020.37
5.6.20.0000.04020.42
5.6.10.0000.04720.45
5.6.00.0070.03320.43
5.5.360.0130.07720.35
5.5.350.0100.07720.32
5.5.340.0000.08020.86
5.5.330.0100.07720.63
5.5.320.0070.08320.87
5.5.310.0100.07320.86
5.5.300.0100.07320.89
5.5.290.0070.05720.86
5.5.280.0030.07020.72
5.5.270.0000.08320.77
5.5.260.0070.08320.90
5.5.250.0070.08020.59
5.5.240.0000.07720.21
5.5.230.0100.07020.16
5.5.220.0070.07320.27
5.5.210.0070.07320.24
5.5.200.0000.04320.07
5.5.190.0070.03320.23
5.5.180.0030.03720.12
5.5.160.0070.03320.14
5.5.150.0030.03720.20
5.5.140.0030.03320.12
5.5.130.0030.03320.14
5.5.120.0100.03020.07
5.5.110.0030.08020.23
5.5.100.0000.03320.06
5.5.90.0000.04020.04
5.5.80.0030.03720.13
5.5.70.0070.03320.09
5.5.60.0000.03720.02
5.5.50.0030.03320.02
5.5.40.0000.03320.12
5.5.30.0000.03320.08
5.5.20.0000.03320.03
5.5.10.0030.03019.96
5.5.00.0030.04020.01
5.4.450.0070.07019.28
5.4.440.0030.08319.14
5.4.430.0030.07719.27
5.4.420.0070.07319.38
5.4.410.0070.07719.24
5.4.400.0000.06718.78
5.4.390.0070.06718.89
5.4.380.0130.07319.04
5.4.370.0000.07719.02
5.4.360.0030.06719.11
5.4.350.0070.04019.10
5.4.340.0000.04018.93
5.4.320.0000.04019.13
5.4.310.0030.04019.05
5.4.300.0070.02318.92
5.4.290.0030.03319.03
5.4.280.0030.03719.13
5.4.270.0000.03019.04
5.4.260.0070.02718.95
5.4.250.0030.03319.04
5.4.240.0030.03718.79
5.4.230.0030.03719.04
5.4.220.0000.03318.98
5.4.210.0000.04019.20
5.4.200.0030.03718.93
5.4.190.0000.03319.05
5.4.180.0000.03319.14
5.4.170.0070.02719.09
5.4.160.0000.03318.93
5.4.150.0030.03018.75
5.4.140.0000.04316.31
5.4.130.0000.03016.21
5.4.120.0000.03316.30
5.4.110.0000.03016.46
5.4.100.0070.04016.36
5.4.90.0030.04716.20
5.4.80.0000.03016.21
5.4.70.0070.02716.30
5.4.60.0070.03316.17
5.4.50.0000.03016.29
5.4.40.0000.03316.25
5.4.30.0030.04016.34
5.4.20.0000.03016.40
5.4.10.0030.05316.18
5.4.00.0000.04015.66
5.3.290.0030.03314.62
5.3.280.0000.03314.55
5.3.270.0000.03314.46
5.3.260.0030.02714.57
5.3.250.0030.02714.57
5.3.240.0000.03014.47
5.3.230.0030.02714.59
5.3.220.0000.03014.55
5.3.210.0000.03314.47
5.3.200.0000.03014.55
5.3.190.0030.06314.56
5.3.180.0000.04314.52
5.3.170.0000.03014.41
5.3.160.0000.03714.56
5.3.150.0030.03014.52
5.3.140.0030.04014.50
5.3.130.0000.05014.46
5.3.120.0000.03014.53
5.3.110.0000.03314.38
5.3.100.0030.07713.89
5.3.90.0070.06014.01
5.3.80.0030.06713.79
5.3.70.0000.04714.02
5.3.60.0000.07714.00
5.3.50.0030.07713.80
5.3.40.0000.07713.93
5.3.30.0030.07313.87
5.3.20.0030.06013.68
5.3.10.0030.07013.64
5.3.00.0030.05013.61

preferences:
43.13 ms | 401 KiB | 5 Q