3v4l.org

run code in 300+ PHP versions simultaneously
<?php $requiredColumns = array( 'category', 'products_id', 'brand', 'supplier', 'stock_min', 'stock_max', 'stock_target', 'warehouse', 'status' ); $letters = range('A', 'Z'); foreach ($this->requiredColumns as $key => $cvalue) { $cell_name = $letters[$key] . "1"; echo $cell_name; }

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.01416.63
8.3.50.0110.00821.21
8.3.40.0070.01118.74
8.3.30.0070.00718.67
8.3.20.0040.00420.29
8.3.10.0070.00023.71
8.3.00.0040.00423.61
8.2.180.0080.00818.37
8.2.170.0090.00622.96
8.2.160.0070.00720.38
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0090.00019.39
8.2.120.0040.00426.35
8.2.110.0030.00719.27
8.2.100.0060.00617.71
8.2.90.0000.00819.09
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0040.00417.91
8.2.50.0050.00318.07
8.2.40.0040.00422.20
8.2.30.0000.00920.69
8.2.20.0040.00417.69
8.2.10.0000.00717.98
8.2.00.0040.00418.11
8.1.280.0150.00025.92
8.1.270.0060.00320.33
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0060.00322.47
8.1.230.0090.00320.96
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0000.00816.98
8.1.180.0030.00618.10
8.1.170.0040.00418.52
8.1.160.0000.00920.71
8.1.150.0000.00718.89
8.1.140.0000.00819.60
8.1.130.0030.00317.51
8.1.120.0000.00717.46
8.1.110.0000.00817.41
8.1.100.0000.00717.25
8.1.90.0000.00717.37
8.1.80.0060.00317.30
8.1.70.0000.00717.42
8.1.60.0050.00317.41
8.1.50.0060.00317.49
8.1.40.0060.00317.52
8.1.30.0040.00417.70
8.1.20.0000.00817.55
8.1.10.0000.00717.64
8.1.00.0000.00817.56
8.0.300.0020.00518.77
8.0.290.0050.00316.75
8.0.280.0040.00418.39
8.0.270.0030.00317.11
8.0.260.0000.00617.20
8.0.250.0000.00816.93
8.0.240.0000.00816.97
8.0.230.0000.00716.93
8.0.220.0070.00016.88
8.0.210.0060.00016.91
8.0.200.0030.00316.82
8.0.190.0050.00516.95
8.0.180.0000.00716.83
8.0.170.0040.00416.92
8.0.160.0030.00516.95
8.0.150.0000.00716.82
8.0.140.0070.00016.84
8.0.130.0060.00013.40
8.0.120.0070.00016.83
8.0.110.0030.00416.79
8.0.100.0050.00216.80
8.0.90.0040.00416.96
8.0.80.0110.00316.92
8.0.70.0040.00416.73
8.0.60.0040.00416.80
8.0.50.0070.00016.68
8.0.30.0100.00917.04
8.0.20.0130.00517.40
8.0.10.0070.00016.99
8.0.00.0110.00916.73
7.4.330.0000.00516.71
7.4.320.0050.00216.45
7.4.300.0030.00316.40
7.4.290.0000.00716.58
7.4.280.0040.00416.48
7.4.270.0060.00016.56
7.4.260.0000.00816.43
7.4.250.0070.00016.46
7.4.240.0050.00216.56
7.4.230.0000.00616.63
7.4.220.0070.01016.64
7.4.210.0040.01216.63
7.4.200.0000.00716.39
7.4.160.0060.01016.65
7.4.150.0130.00317.40
7.4.140.0090.00917.86
7.4.130.0120.00916.48
7.4.120.0120.00516.58
7.4.110.0040.01116.46
7.4.100.0150.00616.38
7.4.90.0030.01416.40
7.4.80.0070.01019.39
7.4.70.0100.01016.39
7.4.60.0030.01216.67
7.4.50.0070.00516.53
7.4.40.0080.00816.52
7.4.30.0130.00416.66
7.4.10.0060.00914.98
7.4.00.0080.00814.84
7.3.330.0050.00013.11
7.3.320.0020.00213.12
7.3.310.0040.00416.22
7.3.300.0030.00316.29
7.3.290.0110.00716.27
7.3.280.0070.01116.28
7.3.270.0120.00617.40
7.3.260.0080.00816.38
7.3.250.0100.00716.34
7.3.240.0080.01016.28
7.3.230.0120.00616.39
7.3.210.0030.01316.20
7.3.200.0130.00316.20
7.3.190.0080.01516.55
7.3.180.0120.00416.38
7.3.170.0110.01016.54
7.3.160.0090.00916.25
7.3.130.0080.00314.98
7.3.120.0080.01214.97
7.3.110.0080.01214.95
7.3.100.0030.01014.41
7.3.90.0130.00014.80
7.3.80.0060.01214.75
7.3.70.0060.00614.83
7.3.60.0140.00014.63
7.3.50.0070.01114.72
7.3.40.0090.00614.52
7.3.30.0030.01314.87
7.3.20.0070.01016.59
7.3.10.0070.01016.52
7.3.00.0070.00416.58
7.2.330.0140.00416.71
7.2.320.0070.01316.58
7.2.310.0070.01416.46
7.2.300.0120.01016.32
7.2.290.0150.00916.48
7.2.260.0030.01715.23
7.2.250.0100.00615.22
7.2.240.0070.00715.02
7.2.230.0060.00914.95
7.2.220.0000.01315.02
7.2.210.0060.01214.66
7.2.200.0060.00315.14
7.2.190.0030.01014.60
7.2.180.0070.01115.14
7.2.170.0060.00314.96
7.2.160.0070.00715.07
7.2.150.0030.01016.86
7.2.140.0060.00916.84
7.2.130.0060.00617.02
7.2.120.0030.00616.82
7.2.110.0030.01216.93
7.2.100.0060.00916.79
7.2.90.0060.01017.00
7.2.80.0000.00916.86
7.2.70.0060.00917.03
7.2.60.0080.00716.58
7.2.50.0000.01016.71
7.2.40.0060.00916.79
7.2.30.0030.01016.80
7.2.20.0100.00616.70
7.2.10.0050.00516.73
7.2.00.0030.00718.14
7.1.330.0040.01115.73
7.1.320.0100.00715.64
7.1.310.0060.00615.83
7.1.300.0070.01115.57
7.1.290.0080.00315.62
7.1.280.0110.00415.73
7.1.270.0040.00415.67
7.1.260.0040.01115.80
7.1.250.0070.00715.41
7.1.240.0040.00815.79
7.1.230.0070.00715.63
7.1.220.0030.00615.42
7.1.210.0060.00915.73
7.1.200.0060.00515.52
7.1.190.0070.00715.50
7.1.180.0000.00815.51
7.1.170.0060.00615.86
7.1.160.0030.00615.76
7.1.150.0070.00715.70
7.1.140.0060.00615.48
7.1.130.0040.00815.79
7.1.120.0030.01015.47
7.1.110.0070.00715.50
7.1.100.0020.00716.79
7.1.90.0160.00015.48
7.1.80.0030.00615.73
7.1.70.0070.00316.44
7.1.60.0080.00817.57
7.1.50.0060.00516.18
7.1.40.0090.00915.48
7.1.30.0090.00615.36
7.1.20.0040.01415.78
7.1.10.0040.00815.63
7.1.00.0050.03818.94
7.0.330.0000.01215.09
7.0.320.0070.00315.36
7.0.310.0030.00915.42
7.0.300.0070.00315.27
7.0.290.0000.00815.32
7.0.280.0040.00715.10
7.0.270.0040.00815.42
7.0.260.0090.00315.28
7.0.250.0100.00315.14
7.0.240.0090.00615.22
7.0.230.0060.00615.36
7.0.220.0080.00315.12
7.0.210.0040.00415.18
7.0.200.0060.00515.84
7.0.190.0080.00015.35
7.0.180.0000.01615.05
7.0.170.0030.01015.38
7.0.160.0060.00615.24
7.0.150.0040.00815.36
7.0.140.0100.00315.36
7.0.130.0040.01115.37
7.0.120.0050.00515.33
7.0.110.0030.00915.41
7.0.100.0000.01115.09
7.0.90.0030.00915.53
7.0.80.0000.01315.21
7.0.70.0000.01515.40
7.0.60.0050.04317.60
7.0.50.0080.04116.73
7.0.40.0070.02816.72
7.0.30.0170.04016.72
7.0.20.0200.04616.66
7.0.10.0030.02716.77
7.0.00.0030.02716.71
5.6.400.0040.01114.02
5.6.390.0030.00614.44
5.6.380.0040.00714.59
5.6.370.0130.00014.43
5.6.360.0060.00914.51
5.6.350.0090.00314.31
5.6.340.0000.00914.50
5.6.330.0060.00314.37
5.6.320.0050.00814.49
5.6.310.0000.01014.11
5.6.300.0000.01113.87
5.6.290.0030.00514.34
5.6.280.0020.01917.50
5.6.270.0130.00014.36
5.6.260.0070.00414.16
5.6.250.0100.00014.13
5.6.240.0030.01014.07
5.6.230.0100.00614.20
5.6.220.0030.00614.19
5.6.210.0040.02617.28
5.6.200.0080.02116.14
5.6.190.0070.02517.27
5.6.180.0190.03817.46
5.6.170.0160.02517.32
5.6.160.0030.02617.28
5.6.150.0050.04516.29
5.6.140.0030.02616.16
5.6.130.0000.03916.22
5.6.120.0030.02817.66
5.6.110.0090.02717.68
5.6.100.0040.04717.59
5.6.90.0020.03917.60
5.6.80.0050.03817.27
5.6.70.0060.00613.99
5.6.60.0060.00314.17
5.6.50.0110.00313.97
5.6.40.0080.00614.13
5.6.30.0040.00714.21
5.6.20.0060.00314.22
5.6.10.0090.00314.29
5.6.00.0100.00314.24
5.5.380.0090.00613.92
5.5.370.0130.00614.02
5.5.360.0030.00914.09
5.5.350.1670.02117.28
5.5.340.0000.04815.92
5.5.330.0030.02517.22
5.5.320.0130.03217.04
5.5.310.0160.02817.12
5.5.300.0050.02316.11
5.5.290.0090.03716.06
5.5.280.0120.03717.37
5.5.270.0050.03217.39
5.5.260.0080.04217.30
5.5.250.0090.03217.34
5.5.240.0160.04317.17
5.5.230.0060.00613.81
5.5.220.0000.01013.83
5.5.210.0060.00914.07
5.5.200.0060.00614.00
5.5.190.0000.01113.72
5.5.180.0040.00814.01
5.5.170.0090.00613.95
5.5.160.0070.00413.72
5.5.150.0000.01114.21
5.5.140.0100.00014.07
5.5.130.0110.00414.00
5.5.120.0040.01214.15
5.5.110.0080.00013.68
5.5.100.0030.00613.80
5.5.90.0050.00514.18
5.5.80.0000.01114.22
5.5.70.0050.00514.03
5.5.60.0060.00613.84
5.5.50.0040.01214.05
5.5.40.0000.01413.75
5.5.30.0170.00313.89
5.5.20.0080.00813.91
5.5.10.0090.00913.80
5.5.00.0120.00614.23

preferences:
68.11 ms | 401 KiB | 5 Q