3v4l.org

run code in 300+ PHP versions simultaneously
<?php $templates = array( 'family' => array( 'product.category_overview' => 'Family Overview', 'product.category_overview_slideshow' => 'Family Overview W/ Slideshow', 'product.category_overview' => 'Family Overview No Parallax' ), 'category' => array( 'product.category_detail' => 'Category Overview' ), 'group' => array( 'product.group' => 'Group w/ 1 Line Art', 'product.group_multi' => 'Group w/ 2 Line Art' ), 'product' => array( 'product.detail' => 'Product Detail' ), 'content' => array( 'content.home' => 'Basic Content Home', 'content.about' => 'Basic Content About' ), 'legacy' => array( 'detail' => 'Product Detail' ) ); foreach($templates AS $template) { //$templateSelect = array($template print_r($template); }

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.0120.00316.63
8.3.50.0100.01122.04
8.3.40.0100.00718.77
8.3.30.0070.00718.72
8.3.20.0080.00020.34
8.3.10.0000.00823.49
8.3.00.0050.00517.80
8.2.180.0080.00818.29
8.2.170.0090.00618.59
8.2.160.0120.00322.96
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0050.00222.31
8.2.110.0090.00022.08
8.2.100.0000.01117.78
8.2.90.0040.00419.22
8.2.80.0080.00017.97
8.2.70.0050.00317.61
8.2.60.0000.00817.80
8.2.50.0000.00818.07
8.2.40.0030.00618.16
8.2.30.0040.00418.13
8.2.20.0040.00417.70
8.2.10.0080.00017.69
8.2.00.0040.00417.67
8.1.280.0090.01225.92
8.1.270.0090.00023.79
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0090.00623.86
8.1.230.0060.00619.10
8.1.220.0060.00317.74
8.1.210.0090.00018.77
8.1.200.0060.00317.22
8.1.190.0000.00817.43
8.1.180.0070.00318.10
8.1.170.0040.00418.43
8.1.160.0050.00321.93
8.1.150.0040.00418.71
8.1.140.0070.00017.42
8.1.130.0070.00017.83
8.1.120.0030.00317.43
8.1.110.0000.00817.34
8.1.100.0040.00417.49
8.1.90.0030.00317.36
8.1.80.0000.00717.33
8.1.70.0000.00717.39
8.1.60.0000.01017.60
8.1.50.0050.00217.54
8.1.40.0080.00017.53
8.1.30.0090.00017.65
8.1.20.0030.00517.63
8.1.10.0040.00417.35
8.1.00.0040.00417.46
8.0.300.0000.00718.77
8.0.290.0000.00717.18
8.0.280.0070.00018.45
8.0.270.0000.00717.20
8.0.260.0060.00316.88
8.0.250.0040.00416.95
8.0.240.0000.00716.94
8.0.230.0000.00717.00
8.0.220.0000.00716.83
8.0.210.0040.00416.76
8.0.200.0070.00016.95
8.0.190.0050.00216.94
8.0.180.0030.00316.93
8.0.170.0000.00716.90
8.0.160.0040.00416.88
8.0.150.0030.00316.83
8.0.140.0030.00516.75
8.0.130.0000.00713.41
8.0.120.0030.00516.90
8.0.110.0050.00216.92
8.0.100.0030.00516.85
8.0.90.0030.00616.96
8.0.80.0060.00916.83
8.0.70.0000.00816.87
8.0.60.0030.00616.93
8.0.50.0000.00816.83
8.0.30.0150.00317.05
8.0.20.0150.00617.40
8.0.10.0040.00416.98
8.0.00.0100.00916.60
7.4.330.0050.00015.14
7.4.320.0030.00316.61
7.4.300.0060.00016.57
7.4.290.0030.00316.61
7.4.280.0070.00016.59
7.4.270.0040.00416.50
7.4.260.0030.00316.49
7.4.250.0000.00716.46
7.4.240.0060.00116.57
7.4.230.0030.00316.55
7.4.220.0170.00016.63
7.4.210.0060.01016.60
7.4.200.0030.00516.70
7.4.190.0030.00316.41
7.4.160.0130.01016.44
7.4.150.0150.00417.40
7.4.140.0130.00817.86
7.4.130.0100.00716.45
7.4.120.0110.00616.37
7.4.110.0140.00316.68
7.4.100.0130.01016.59
7.4.90.0160.00316.45
7.4.80.0170.00316.63
7.4.70.0080.01216.55
7.4.60.0100.01116.35
7.4.50.0060.00316.45
7.4.40.0000.01922.77
7.4.30.0060.01016.60
7.4.00.0070.00715.13
7.3.330.0020.00313.12
7.3.320.0020.00213.00
7.3.310.0070.00016.32
7.3.300.0030.00316.25
7.3.290.0090.00916.31
7.3.280.0060.01116.28
7.3.270.0040.01417.40
7.3.260.0090.00816.25
7.3.250.0160.00216.39
7.3.240.0080.00816.38
7.3.230.0070.01016.39
7.3.210.0060.01216.55
7.3.200.0150.00319.39
7.3.190.0110.00716.46
7.3.180.0160.00716.22
7.3.170.0100.00716.57
7.3.160.0100.00716.20
7.3.120.0110.00014.83
7.2.330.0160.00616.61
7.2.320.0070.01016.45
7.2.310.0060.01216.55
7.2.300.0000.01616.60
7.2.290.0140.00316.47
7.2.00.0070.00719.32
7.1.100.0000.01018.04
7.1.70.0070.00316.82
7.1.60.0070.01819.29
7.1.50.0130.00316.96
7.1.00.0100.07022.51
7.0.200.0000.00816.85
7.0.140.0030.07322.00
7.0.60.0000.05019.99
7.0.50.0070.04317.83
7.0.40.0000.05320.20
7.0.30.0270.04020.34
7.0.20.0370.07320.03
7.0.10.0000.08020.18
7.0.00.0030.10320.20
5.6.280.0000.07720.89
5.6.210.0030.04720.67
5.6.200.0170.07018.11
5.6.190.0100.05320.56
5.6.180.0230.06320.27
5.6.170.0230.03320.51
5.6.160.0000.08320.37
5.6.150.0100.07718.16
5.6.140.0100.07318.23
5.6.130.0030.08318.20
5.6.120.0100.07721.06
5.6.110.0130.07320.98
5.6.100.0130.08020.98
5.6.90.0100.07320.87
5.6.80.0100.07720.54
5.5.350.0170.07020.45
5.5.340.0070.08317.92
5.5.330.0170.08020.14
5.5.320.0030.05320.07
5.5.310.0270.08320.28
5.5.300.0100.08017.91
5.5.290.0000.08718.00
5.5.280.0100.07020.76
5.5.270.0030.04020.67
5.5.260.0070.08320.97
5.5.250.0130.07020.65
5.5.240.0100.03720.16
5.4.450.0070.03319.11
5.4.440.0130.03719.46
5.4.430.0070.03319.11
5.4.420.0000.04019.41
5.4.410.0000.04019.29
5.4.400.0000.05018.79
5.4.390.0070.07719.13
5.4.380.0000.06318.80
5.4.370.0030.06719.09
5.4.360.0130.07019.15
5.4.350.0100.07018.86
5.4.340.0030.08018.78
5.4.320.0000.04019.22
5.4.310.0070.04718.93
5.4.300.0000.04019.13
5.4.290.0070.04718.93
5.4.280.0030.06319.21
5.4.270.0000.07318.78
5.4.260.0000.07719.16
5.4.250.0000.04018.78
5.4.240.0000.04718.78
5.4.230.0070.07719.07
5.4.220.0070.07719.08
5.4.210.0030.05718.80
5.4.200.0070.07019.15
5.4.190.0000.04718.92
5.4.180.0030.07718.92
5.4.170.0000.04718.90
5.4.160.0030.06018.89
5.4.150.0000.08319.11
5.4.140.0000.04316.29
5.4.130.0070.03316.30
5.4.120.0070.06716.54
5.4.110.0000.05016.39
5.4.100.0030.07016.43
5.4.90.0030.07016.30
5.4.80.0030.06716.42
5.4.70.0030.07316.48
5.4.60.0030.07316.27
5.4.50.0030.04716.43
5.4.40.0070.05316.31
5.4.30.0030.07316.40
5.4.20.0030.07316.45
5.4.10.0000.04716.36
5.4.00.0000.07315.70
5.3.290.0000.07314.66
5.3.280.0030.07314.54
5.3.270.0070.06314.51
5.3.260.0070.07714.44
5.3.250.0070.04714.46
5.3.240.0030.04014.44
5.3.230.0030.03714.57
5.3.220.0030.04714.50
5.3.210.0030.04714.40
5.3.200.0000.05014.51
5.3.190.0070.05314.59
5.3.180.0030.07314.44
5.3.170.0030.07714.61
5.3.160.0070.07314.40
5.3.150.0030.07314.50
5.3.140.0030.06314.46
5.3.130.0070.07714.38
5.3.120.0000.07714.53
5.3.110.0130.06714.59
5.3.100.0030.06313.87
5.3.90.0000.07313.87
5.3.80.0000.08014.00
5.3.70.0030.07013.95
5.3.60.0000.07713.84
5.3.50.0030.07013.99
5.3.40.0130.04713.74
5.3.30.0070.07013.78
5.3.20.0000.06313.78
5.3.10.0030.07013.47
5.3.00.0000.05713.59
5.2.170.0000.04012.12
5.2.160.0070.03312.12
5.2.150.0070.06012.12
5.2.140.0000.06712.12
5.2.130.0030.05712.12
5.2.120.0000.06712.12
5.2.110.0030.04312.12
5.2.100.0030.03312.12
5.2.90.0070.03312.12
5.2.80.0070.04712.12
5.2.70.0030.05712.12
5.2.60.0030.06312.12
5.2.50.0070.06312.12
5.2.40.0030.06312.12
5.2.30.0000.06312.12
5.2.20.0030.04312.12
5.2.10.0030.03312.12
5.2.00.0000.06312.12
5.1.60.0100.04012.12
5.1.50.0070.02312.12
5.1.40.0030.03012.12
5.1.30.0030.03012.12
5.1.20.0030.05712.12
5.1.10.0030.04712.12
5.1.00.0030.02712.12
5.0.50.0030.04712.12
5.0.40.0030.02312.12
5.0.30.0070.06012.12
5.0.20.0030.03312.12
5.0.10.0000.03712.12
5.0.00.0000.03712.12
4.4.90.0000.02712.12
4.4.80.0070.02312.12
4.4.70.0000.04012.12
4.4.60.0030.03012.12
4.4.50.0000.03712.12
4.4.40.0000.05312.12
4.4.30.0000.03712.12
4.4.20.0030.01712.12
4.4.10.0030.02012.12
4.4.00.0030.02712.12
4.3.110.0000.03312.12
4.3.100.0030.03312.12
4.3.90.0070.02712.12
4.3.80.0000.05312.12
4.3.70.0030.02012.12
4.3.60.0030.03012.12
4.3.50.0070.03012.12
4.3.40.0030.02712.12
4.3.30.0000.03012.12
4.3.20.0000.03712.12
4.3.10.0070.03312.12
4.3.00.0100.02312.12

preferences:
39.39 ms | 401 KiB | 5 Q