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.0110.00718.48
8.3.50.0130.00421.27
8.3.40.0110.00718.98
8.3.30.0100.00318.84
8.3.20.0030.00518.74
8.3.10.0030.00620.96
8.3.00.0080.00021.73
8.2.180.0120.00616.38
8.2.170.0110.00422.96
8.2.160.0040.01620.57
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0030.01020.94
8.2.110.0040.00420.36
8.2.100.0070.00417.84
8.2.90.0040.00419.09
8.2.80.0030.00617.97
8.2.70.0030.00517.63
8.2.60.0000.00717.80
8.2.50.0090.00018.07
8.2.40.0040.00418.22
8.2.30.0050.00321.28
8.2.20.0000.00817.60
8.2.10.0030.00517.82
8.2.00.0060.00317.68
8.1.280.0040.01125.92
8.1.270.0000.00723.99
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0100.00722.50
8.1.230.0040.00820.85
8.1.220.0000.00818.77
8.1.210.0030.00518.83
8.1.200.0000.00817.23
8.1.190.0000.00717.52
8.1.180.0040.00418.10
8.1.170.0070.00018.65
8.1.160.0070.00018.90
8.1.150.0040.00418.64
8.1.140.0000.00717.45
8.1.130.0030.00317.83
8.1.120.0000.01017.37
8.1.110.0050.00217.40
8.1.100.0030.00617.39
8.1.90.0070.00017.39
8.1.80.0000.00717.44
8.1.70.0000.00717.37
8.1.60.0000.00817.49
8.1.50.0000.00917.52
8.1.40.0090.00017.45
8.1.30.0050.00317.57
8.1.20.0040.00417.59
8.1.10.0040.00417.59
8.1.00.0070.00317.36
8.0.300.0040.00419.80
8.0.290.0040.00417.05
8.0.280.0000.00718.47
8.0.270.0000.00716.79
8.0.260.0000.00816.73
8.0.250.0040.00416.86
8.0.240.0030.00716.97
8.0.230.0000.00816.87
8.0.220.0000.00716.91
8.0.210.0070.00016.92
8.0.200.0000.00716.95
8.0.190.0090.00016.92
8.0.180.0040.00416.96
8.0.170.0040.00416.89
8.0.160.0030.00316.91
8.0.150.0040.00416.92
8.0.140.0070.00316.81
8.0.130.0030.00313.35
8.0.120.0030.00616.85
8.0.110.0040.00416.77
8.0.100.0030.00416.76
8.0.90.0000.00716.76
8.0.80.0060.01016.83
8.0.70.0000.00716.72
8.0.60.0000.00716.80
8.0.50.0000.00716.89
8.0.30.0130.01016.88
8.0.20.0130.00917.40
8.0.10.0040.00416.98
8.0.00.0080.00816.54
7.4.330.0020.00216.82
7.4.320.0000.00716.46
7.4.300.0070.00016.45
7.4.290.0000.00716.55
7.4.280.0030.00316.47
7.4.270.0070.00016.44
7.4.260.0000.00513.25
7.4.250.0040.00416.43
7.4.240.0040.00416.46
7.4.230.0000.00716.45
7.4.220.0130.00316.47
7.4.210.0060.01116.46
7.4.200.0030.00316.38
7.4.190.0030.00316.61
7.4.160.0120.00416.21
7.4.150.0140.01017.40
7.4.140.0080.00817.86
7.4.130.0110.00716.43
7.4.120.0090.00616.38
7.4.110.0080.00816.32
7.4.100.0070.02016.28
7.4.90.0100.00716.64
7.4.80.0100.00619.39
7.4.70.0140.00316.55
7.4.60.0100.00716.43
7.4.50.0040.00416.49
7.4.40.0120.00222.77
7.4.30.0060.01016.64
7.4.00.0030.01415.02
7.3.330.0050.00013.09
7.3.320.0000.00613.18
7.3.310.0000.00816.43
7.3.300.0080.00016.36
7.3.290.0130.00716.29
7.3.280.0110.00616.32
7.3.270.0070.01017.40
7.3.260.0100.00918.24
7.3.250.0080.00916.41
7.3.240.0140.00316.28
7.3.230.0040.01516.39
7.3.210.0090.00916.71
7.3.200.0110.01119.39
7.3.190.0100.01516.32
7.3.180.0110.00416.56
7.3.170.0130.01016.57
7.3.160.0030.01316.31
7.3.120.0090.00715.09
7.3.110.0090.00914.89
7.3.100.0000.01815.08
7.3.90.0140.00014.48
7.3.80.0030.01214.89
7.3.70.0040.00414.83
7.3.60.0110.00414.91
7.3.50.0040.00814.57
7.3.40.0030.00914.87
7.3.30.0070.00714.92
7.3.20.0040.00416.59
7.3.10.0060.00616.69
7.3.00.0060.00916.74
7.2.330.0070.01016.36
7.2.320.0070.01416.50
7.2.310.0100.01316.63
7.2.300.0130.00416.45
7.2.290.0080.00816.70
7.2.250.0030.01715.06
7.2.240.0070.01014.84
7.2.230.0110.00414.90
7.2.220.0030.00915.23
7.2.210.0000.01314.88
7.2.200.0030.01214.92
7.2.190.0000.00914.58
7.2.180.0060.00914.73
7.2.170.0100.00715.07
7.2.160.0000.00914.64
7.2.150.0030.00616.84
7.2.140.0000.01516.73
7.2.130.0060.00316.95
7.2.120.0060.00916.63
7.2.110.0090.00616.75
7.2.100.0000.01816.96
7.2.90.0000.01116.87
7.2.80.0040.01116.96
7.2.70.0100.00716.80
7.2.60.0080.00816.61
7.2.50.0040.00816.89
7.2.40.0120.00416.86
7.2.30.0070.00316.77
7.2.20.0060.00917.02
7.2.10.0030.01016.79
7.2.00.0030.01417.89
7.1.330.0030.01015.71
7.1.320.0000.01615.50
7.1.310.0080.00315.61
7.1.300.0090.00315.70
7.1.290.0000.00915.75
7.1.280.0070.00715.70
7.1.270.0000.01615.74
7.1.260.0090.00315.81
7.1.250.0060.01215.48
7.1.240.0090.00615.66
7.1.230.0030.00615.73
7.1.220.0120.00615.48
7.1.210.0030.01215.80
7.1.200.0030.00615.69
7.1.190.0060.01315.61
7.1.180.0090.00615.63
7.1.170.0070.00415.45
7.1.160.0070.00715.69
7.1.150.0040.00815.73
7.1.140.0080.00415.48
7.1.130.0060.01015.66
7.1.120.0030.01715.56
7.1.110.0040.00815.45
7.1.100.0020.00816.58
7.1.90.0030.01015.65
7.1.80.0040.00715.57
7.1.70.0000.01016.26
7.1.60.0080.01217.35
7.1.50.0040.01416.14
7.1.40.0000.00815.73
7.1.30.0090.00915.53
7.1.20.0070.00715.66
7.1.10.0090.00615.84
7.1.00.0050.04018.85
7.0.330.0000.01315.49
7.0.320.0070.01015.40
7.0.310.0000.01115.09
7.0.300.0030.00615.27
7.0.290.0070.00715.38
7.0.280.0060.00615.32
7.0.270.0100.00715.37
7.0.260.0030.01215.46
7.0.250.0000.01115.39
7.0.240.0070.00315.18
7.0.230.0070.00715.25
7.0.220.0030.00915.48
7.0.210.0030.00715.29
7.0.200.0030.00516.07
7.0.190.0000.00815.16
7.0.180.0040.01115.40
7.0.170.0070.00715.40
7.0.160.0030.01315.17
7.0.150.0090.00615.23
7.0.140.0020.03218.78
7.0.130.0130.00315.34
7.0.120.0080.00015.42
7.0.110.0080.00415.52
7.0.100.0070.01015.46
7.0.90.0090.00615.18
7.0.80.0120.00315.54
7.0.70.0120.02018.46
7.0.60.0030.02618.56
7.0.50.0080.03518.83
7.0.40.0060.03016.76
7.0.30.0040.02916.79
7.0.20.0070.03016.81
7.0.10.0050.03016.70
7.0.00.0030.04016.78
5.6.400.0030.01214.43
5.6.390.0110.00414.32
5.6.380.0040.01414.49
5.6.370.0040.01114.18
5.6.360.0060.00614.20
5.6.350.0090.00914.04
5.6.340.0030.00514.61
5.6.330.0030.01414.46
5.6.320.0000.01714.11
5.6.310.0000.01414.09
5.6.300.0000.01214.30
5.6.290.0080.00814.12
5.6.280.0030.04117.53
5.6.270.0030.00714.36
5.6.260.0000.01614.30
5.6.250.0060.00914.34
5.6.240.0000.01513.99
5.6.230.0110.00014.23
5.6.220.0050.04517.23
5.6.210.0070.02217.28
5.6.200.0100.03517.67
5.6.190.0090.02517.80
5.6.180.0000.04617.63
5.6.170.0040.02417.65
5.6.160.0020.03517.63
5.6.150.0050.04517.44
5.6.140.0100.04017.58
5.6.130.0050.04717.59
5.6.120.0100.02317.50
5.6.110.0050.04017.50
5.6.100.0080.02017.45
5.6.90.0110.02217.73
5.6.80.0020.02517.21
5.6.70.0080.03817.09
5.6.60.0050.02217.31
5.6.50.0030.02517.38
5.6.40.0030.02317.14
5.6.30.0000.02717.15
5.6.20.0050.04317.17
5.6.10.0070.04217.21
5.6.00.0070.03817.24
5.5.380.0090.00613.90
5.5.370.0120.00614.10
5.5.360.0020.03317.13
5.5.350.0050.04117.23
5.5.340.0090.04117.34
5.5.330.0020.02417.45
5.5.320.0070.02817.29
5.5.310.0060.02817.59
5.5.300.0070.03317.51
5.5.290.0080.04017.56
5.5.280.0000.05017.43
5.5.270.0030.04617.25
5.5.260.0060.02817.41
5.5.250.0030.02517.41
5.5.240.0040.02417.06
5.5.230.0040.02916.95
5.5.220.0020.02616.95
5.5.210.0040.02617.06
5.5.200.0040.02317.09
5.5.190.0060.02117.18
5.5.180.0030.02417.08
5.5.170.0060.00614.25
5.5.160.0030.03117.10
5.5.150.0050.04117.20
5.5.140.0090.03616.90
5.5.130.0070.03916.98
5.5.120.0060.04116.98
5.5.110.0020.03717.18
5.5.100.0060.03816.91
5.5.90.0050.02717.15
5.5.80.0030.02416.95
5.5.70.0020.03017.06
5.5.60.0030.02316.90
5.5.50.0050.02916.97
5.5.40.0120.03217.02
5.5.30.0090.03417.10
5.5.20.0030.04117.13
5.5.10.0020.03016.92
5.5.00.0070.02617.06
5.4.450.0050.03515.56
5.4.440.0030.03015.56
5.4.430.0080.03015.56
5.4.420.0060.04315.56
5.4.410.0060.02115.45
5.4.400.0000.02315.46
5.4.390.0050.02115.46
5.4.380.0030.02415.28
5.4.370.0020.03115.40
5.4.360.0000.02415.37
5.4.350.0050.01815.40
5.4.340.0020.04715.39
5.4.330.0070.00411.77
5.4.320.0050.03315.46
5.4.310.0030.03315.42
5.4.300.0040.02515.40
5.4.290.0030.04115.31
5.4.280.0020.04115.29
5.4.270.0020.04415.41
5.4.260.0040.02215.45
5.4.250.0070.01815.44
5.4.240.0030.02015.45
5.4.230.0050.04015.27
5.4.220.0050.01815.29
5.4.210.0000.03915.45
5.4.200.0070.03515.36
5.4.190.0040.03015.40
5.4.180.0020.03715.39
5.4.170.0050.02615.44
5.4.160.0050.04315.39
5.4.150.0050.03715.26
5.4.140.0060.02214.04
5.4.130.0040.03214.03
5.4.120.0030.02713.99
5.4.110.0030.03814.05
5.4.100.0020.03414.05
5.4.90.0000.03414.04
5.4.80.0030.02313.99
5.4.70.0030.03813.98
5.4.60.0050.03614.02
5.4.50.0040.02614.00
5.4.40.0030.02714.11
5.4.30.0050.03314.06
5.4.20.0050.03713.97
5.4.10.0000.03714.04
5.4.00.0050.03313.64
5.3.290.0000.06714.75
5.3.280.0000.04014.75
5.3.270.0100.05014.75
5.3.260.0000.06714.75
5.3.250.0070.03314.75
5.3.240.0030.03714.75
5.3.230.0030.05014.75
5.3.220.0000.07714.75
5.3.210.0030.06314.75
5.3.200.0030.07714.75
5.3.190.0000.05014.75
5.3.180.0070.07714.75
5.3.170.0070.07314.75
5.3.160.0130.06314.75
5.3.150.0100.06014.75
5.3.140.0070.06714.75
5.3.130.0030.07714.75
5.3.120.0030.05314.75
5.3.110.0070.07714.75
5.3.100.0030.06014.75
5.3.90.0000.05714.75
5.3.80.0030.05014.75
5.3.70.0000.08014.75
5.3.60.0000.07014.75
5.3.50.0000.07714.75
5.3.40.0000.05714.75
5.3.30.0030.07014.75
5.3.20.0000.05014.75
5.3.10.0000.07014.75
5.3.00.0000.07314.75
5.2.170.0030.05014.75
5.2.160.0070.05714.75
5.2.150.0030.06014.75
5.2.140.0000.06014.75
5.2.130.0000.04314.75
5.2.120.0030.05314.75
5.2.110.0000.06014.75
5.2.100.0000.07314.75
5.2.90.0070.05714.75
5.2.80.0000.05314.75
5.2.70.0100.06314.75
5.2.60.0030.04714.75
5.2.50.0030.05714.75
5.2.40.0000.04014.75
5.2.30.0000.06314.75
5.2.20.0070.03714.75
5.2.10.0000.04014.75
5.2.00.0000.03014.75
5.1.60.0070.02014.75
5.1.50.0070.04014.75
5.1.40.0000.05714.75
5.1.30.0030.02714.75
5.1.20.0000.03714.75
5.1.10.0030.02714.75
5.1.00.0000.04014.75
5.0.50.0000.04014.75
5.0.40.0030.03014.75
5.0.30.0000.04014.75
5.0.20.0070.03314.75
5.0.10.0000.03314.75
5.0.00.0030.05314.75
4.4.90.0030.03314.75
4.4.80.0000.02714.75
4.4.70.0000.03014.75
4.4.60.0000.01714.75
4.4.50.0100.02014.75
4.4.40.0030.04014.75
4.4.30.0000.03014.75
4.4.20.0000.03714.75
4.4.10.0000.03314.75
4.4.00.0000.04314.75
4.3.110.0000.02314.75
4.3.100.0000.02014.75
4.3.90.0000.02714.75
4.3.80.0030.04714.75
4.3.70.0000.03314.75
4.3.60.0000.03714.75
4.3.50.0030.02714.75
4.3.40.0030.05014.75
4.3.30.0000.03314.75
4.3.20.0030.03314.75
4.3.10.0030.02714.75
4.3.00.0070.02714.75

preferences:
62.68 ms | 401 KiB | 5 Q