3v4l.org

run code in 300+ PHP versions simultaneously
<?php //write to array $prod_array [] = array( 'title' => $final_title, 'link' => $product->getProductUrl(), 'description' => $long_desc, 'image' => $final_image, 'price' => $finalPriceInclTax, //price //'price' => number_format($product->getPrice(), 2), //price 'id' => $product->getSku(), 'ean' => $product->getEan(), 'brand' => $product->getAttributeText('manufacturer'), 'product_type' => $parent_cat . " > " . $category->getName(), 'gm_cat' => set_categories($category->getName(),"test1.csv"), 'pr_cat' => set_categories($category->getName(),"test2.csv"), 'sdc_cat' => set_categories($category->getName(),"test3.csv") ); $counter++;

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.0130.00918.15
8.3.50.0130.00621.99
8.3.40.0100.00718.56
8.3.30.0000.01418.62
8.3.20.0080.00018.66
8.3.10.0080.00020.92
8.3.00.0070.00023.70
8.2.180.0140.00716.63
8.2.170.0120.00322.96
8.2.160.0060.00920.38
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0050.00319.54
8.2.110.0000.00921.18
8.2.100.0090.00317.66
8.2.90.0040.00417.50
8.2.80.0030.00518.39
8.2.70.0040.00417.68
8.2.60.0000.00817.97
8.2.50.0000.00818.10
8.2.40.0070.00019.40
8.2.30.0000.00921.27
8.2.20.0040.00417.59
8.2.10.0000.00917.41
8.2.00.0070.00017.46
8.1.280.0070.01025.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0070.00328.09
8.1.240.0030.00622.06
8.1.230.0060.00618.88
8.1.220.0000.00717.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0030.00617.10
8.1.180.0040.00418.74
8.1.170.0050.00318.51
8.1.160.0000.00718.70
8.1.150.0000.00818.38
8.1.140.0040.00417.37
8.1.130.0050.00317.36
8.1.120.0000.00717.30
8.1.110.0040.00417.32
8.1.100.0060.00317.21
8.1.90.0000.00717.24
8.1.80.0030.00317.28
8.1.70.0030.00317.28
8.1.60.0040.00417.35
8.1.50.0040.00417.23
8.1.40.0000.00917.40
8.1.30.0040.00417.34
8.1.20.0080.00017.45
8.1.10.0040.00417.39
8.1.00.0060.00317.30
8.0.300.0000.00818.77
8.0.290.0000.00716.63
8.0.280.0030.00318.31
8.0.270.0080.00017.04
8.0.260.0030.00316.60
8.0.250.0050.00216.75
8.0.240.0070.00316.86
8.0.230.0030.00316.88
8.0.220.0000.00716.71
8.0.210.0000.00716.70
8.0.200.0060.00016.80
8.0.190.0020.00516.75
8.0.180.0040.00416.69
8.0.170.0030.00616.84
8.0.160.0000.00716.75
8.0.150.0030.00316.63
8.0.140.0040.00416.61
8.0.130.0000.00513.22
8.0.120.0080.00016.60
8.0.110.0070.00016.55
8.0.100.0080.00016.81
8.0.90.0000.00716.73
8.0.80.0110.00716.74
8.0.70.0000.00816.74
8.0.60.0070.00016.58
8.0.50.0020.00516.79
8.0.30.0090.01016.79
8.0.20.0070.01317.40
8.0.10.0070.00016.79
8.0.00.0080.00916.70
7.4.330.0050.00014.58
7.4.320.0060.00016.47
7.4.300.0000.00616.45
7.4.290.0030.00316.27
7.4.280.0030.00316.30
7.4.270.0000.00716.48
7.4.260.0030.00313.12
7.4.250.0000.00816.38
7.4.240.0000.00716.47
7.4.230.0070.00016.21
7.4.220.0070.01116.33
7.4.210.0100.00516.48
7.4.200.0050.00316.47
7.4.190.0040.00416.28
7.4.160.0110.00516.11
7.4.150.0140.00417.40
7.4.140.0140.00817.86
7.4.130.0090.00916.42
7.4.120.0080.00916.32
7.4.110.0110.01116.41
7.4.100.0160.00616.50
7.4.90.0080.00816.35
7.4.80.0090.00619.39
7.4.70.0120.00616.46
7.4.60.0070.01016.30
7.4.50.0040.00416.26
7.4.40.0000.01522.52
7.4.30.0100.00616.34
7.4.00.0070.00315.01
7.3.330.0050.00012.96
7.3.320.0050.00013.01
7.3.310.0030.00316.04
7.3.300.0060.00016.14
7.3.290.0120.00316.07
7.3.280.0060.01116.13
7.3.270.0060.01117.40
7.3.260.0090.01218.24
7.3.250.0090.00816.30
7.3.240.0030.01316.39
7.3.230.0030.01316.39
7.3.210.0230.01516.39
7.3.200.0000.02119.39
7.3.190.0120.00416.27
7.3.180.0030.01316.24
7.3.170.0060.00916.30
7.3.160.0150.00616.22
7.3.120.0090.00914.49
7.2.330.0110.01116.35
7.2.320.0060.01216.36
7.2.310.0110.00616.50
7.2.300.0130.01016.39
7.2.290.0200.00316.50
7.1.70.0030.00516.97
7.1.60.0090.01319.40
7.1.50.0070.01416.48
7.1.00.0100.07022.45
7.0.200.0040.00416.60
7.0.140.0030.07021.99
7.0.60.0030.08019.81
7.0.50.0070.04317.66
7.0.40.0070.08320.04
7.0.30.0530.06320.16
7.0.20.0270.04320.17
7.0.10.0270.07720.15
7.0.00.0030.08720.11
5.6.280.0130.06320.80
5.6.210.0130.06720.62
5.6.200.0100.05318.20
5.6.190.0130.07720.59
5.6.180.0230.04020.41
5.6.170.0330.06720.49
5.6.160.0070.07320.76
5.6.150.0000.08018.17
5.6.140.0030.08318.21
5.6.130.0000.09018.23
5.6.120.0130.07021.02
5.6.110.0100.07321.13
5.6.100.0100.07020.96
5.6.90.0030.04320.96
5.6.80.0070.05720.36
5.6.70.2870.04020.34
5.5.350.0200.08320.45
5.5.340.0070.07718.02
5.5.330.0030.04020.25
5.5.320.0270.05320.07
5.5.310.0230.06320.32
5.5.300.0100.08317.97
5.5.290.0070.08317.91
5.5.280.0100.05320.75
5.5.270.0070.05720.95
5.5.260.0070.06020.96
5.5.250.0100.07720.61
5.5.240.0070.08320.27
5.4.450.0570.05719.63
5.4.440.0370.07019.09
5.4.430.0530.05719.62
5.4.420.0200.05319.30
5.4.410.0130.07318.96
5.4.400.0330.05318.65
5.4.390.0170.06018.75
5.4.380.0070.06018.76
5.4.370.0000.05718.55
5.4.360.0070.04018.69
5.4.350.0070.03911.97
5.4.340.0040.04411.96
5.4.320.0080.05012.45
5.4.310.0050.04112.45
5.4.300.0040.04012.45
5.4.290.0080.03912.45
5.4.280.0070.03712.35
5.4.270.0070.03812.34
5.4.260.0050.04212.35
5.4.250.0100.04612.35
5.4.240.0070.03812.34
5.4.230.0070.04112.34
5.4.220.0090.03812.34
5.4.210.0090.03912.34
5.4.200.0070.03912.34
5.4.190.0070.04312.33
5.4.180.0090.04812.33
5.4.170.0130.04812.34
5.4.160.0090.04112.33
5.4.150.0100.04012.33
5.4.140.0100.04012.01
5.4.130.0110.03712.00
5.4.120.0110.04311.96
5.4.110.0080.04111.96
5.4.100.0110.03811.96
5.4.90.0090.04211.96
5.4.80.0120.05011.96
5.4.70.0070.03911.95
5.4.60.0100.03711.95
5.4.50.0090.04411.95
5.4.40.0130.04511.94
5.4.30.0140.05211.94
5.4.20.0090.04111.94
5.4.10.0120.04111.94
5.4.00.0100.05211.43
5.3.290.0050.04012.80
5.3.280.0070.04512.71
5.3.270.0200.05912.72
5.3.260.0110.04812.72
5.3.250.0110.04712.72
5.3.240.0130.05612.72
5.3.230.0130.04412.71
5.3.220.0130.04612.68
5.3.210.0130.05412.68
5.3.200.0080.04412.68
5.3.190.0120.04312.68
5.3.180.0090.04212.67
5.3.170.0150.05412.67
5.3.160.0130.04212.67
5.3.150.0120.03912.67
5.3.140.0120.03912.66
5.3.130.0120.03912.66
5.3.120.0150.04712.66
5.3.110.0090.04212.66
5.3.100.0140.04012.12
5.3.90.0090.04112.08
5.3.80.0090.04012.07
5.3.70.0100.03912.08
5.3.60.0100.04212.07
5.3.50.0100.04312.00
5.3.40.0110.04112.00
5.3.30.0090.04311.94
5.3.20.0070.04211.72
5.3.10.0140.05211.68
5.3.00.0090.04811.67

preferences:
35.82 ms | 401 KiB | 5 Q