3v4l.org

run code in 300+ PHP versions simultaneously
<?php $newdata = array ( 'wpseo_title' => 'test1', 'wpseo_desc' => 'test2', 'wpseo_metakey' => 'test3' ); $count=0; foreach ($newdata as $key => $newdat) { $count++; echo $newdat;echo $count; } // for recipe $md_array["recipe_type"][] = $newdata; //for cuisine $md_array["cuisine"][] = $newdata; array_push($md_array["cuisine"],$newdata); //var_dump($md_array["cuisine"]); ?>

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.0100.01016.63
8.3.50.0080.00821.99
8.3.40.0120.00318.85
8.3.30.0110.00419.13
8.3.20.0080.00020.20
8.3.10.0040.00423.61
8.3.00.0070.00019.02
8.2.180.0090.01218.19
8.2.170.0110.01122.96
8.2.160.0100.00720.43
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0070.00720.89
8.2.110.0100.00020.89
8.2.100.0040.00817.72
8.2.90.0060.00318.03
8.2.80.0050.00517.97
8.2.70.0050.00517.50
8.2.60.0030.00518.05
8.2.50.0080.00018.07
8.2.40.0000.00820.07
8.2.30.0030.00618.24
8.2.20.0070.00017.82
8.2.10.0040.00418.05
8.2.00.0070.00017.62
8.1.280.0060.00925.92
8.1.270.0080.00021.95
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00322.55
8.1.230.0110.00020.95
8.1.220.0000.00817.75
8.1.210.0040.00418.91
8.1.200.0060.00317.38
8.1.190.0030.00517.23
8.1.180.0050.00318.10
8.1.170.0040.00418.49
8.1.160.0040.00421.96
8.1.150.0080.00018.64
8.1.140.0040.00417.52
8.1.130.0000.00717.82
8.1.120.0050.00217.47
8.1.110.0000.01017.46
8.1.100.0040.00417.34
8.1.90.0040.00417.50
8.1.80.0070.00017.43
8.1.70.0000.00717.47
8.1.60.0050.00217.56
8.1.50.0040.00417.41
8.1.40.0040.00417.49
8.1.30.0000.00817.56
8.1.20.0040.00417.52
8.1.10.0040.00417.58
8.1.00.0070.00017.42
8.0.300.0000.00819.85
8.0.290.0050.00317.18
8.0.280.0000.00718.48
8.0.270.0070.00017.25
8.0.260.0070.00017.26
8.0.250.0000.00716.95
8.0.240.0040.00416.87
8.0.230.0030.00316.84
8.0.220.0000.00716.92
8.0.210.0070.00016.84
8.0.200.0030.00316.91
8.0.190.0000.00816.93
8.0.180.0000.00716.85
8.0.170.0030.00616.88
8.0.160.0030.00616.94
8.0.150.0040.00416.80
8.0.140.0040.00416.86
8.0.130.0080.00013.25
8.0.120.0000.00816.79
8.0.110.0030.00316.87
8.0.100.0060.00316.85
8.0.90.0040.00416.71
8.0.80.0080.00816.88
8.0.70.0000.00817.00
8.0.60.0040.00416.77
8.0.50.0000.00816.93
8.0.30.0100.00917.21
8.0.20.0150.00417.40
8.0.10.0000.00716.89
8.0.00.0060.01116.82
7.4.330.0000.00515.00
7.4.320.0030.00316.41
7.4.300.0030.00316.61
7.4.290.0040.00416.59
7.4.280.0040.00416.59
7.4.270.0040.00416.59
7.4.260.0000.00716.59
7.4.250.0070.00016.59
7.4.240.0000.00716.41
7.4.230.0000.00716.39
7.4.220.0030.01616.56
7.4.210.0030.01016.66
7.4.200.0080.00016.71
7.4.190.0030.00316.67
7.4.160.0120.00616.43
7.4.150.0100.00717.40
7.4.140.0080.01017.86
7.4.130.0060.01116.53
7.4.120.0130.00716.55
7.4.110.0100.00716.52
7.4.100.0090.00916.44
7.4.90.0080.00816.53
7.4.80.0150.00919.39
7.4.70.0030.01316.32
7.4.60.0030.01316.42
7.4.50.0050.00316.22
7.4.40.0110.00716.50
7.4.30.0070.01416.39
7.4.00.0070.00714.96
7.3.330.0060.00013.12
7.3.320.0050.00013.06
7.3.310.0000.00816.43
7.3.300.0060.00016.32
7.3.290.0000.02016.29
7.3.280.0090.00916.34
7.3.270.0080.00817.40
7.3.260.0100.01316.47
7.3.250.0130.00316.35
7.3.240.0060.01516.31
7.3.230.0110.00716.48
7.3.210.0060.01216.57
7.3.200.0140.00319.39
7.3.190.0090.00316.48
7.3.180.0110.00616.30
7.3.170.0040.01216.65
7.3.160.0090.00616.27
7.3.120.0070.01014.90
7.3.110.0030.01614.71
7.3.100.0060.00914.64
7.3.90.0030.00714.87
7.3.80.0060.00314.71
7.3.70.0100.00714.79
7.3.60.0100.00314.81
7.3.50.0070.01414.59
7.3.40.0130.00714.79
7.3.30.0000.01214.64
7.3.20.0160.00016.61
7.3.10.0090.00616.68
7.3.00.0070.01016.72
7.2.330.0090.00916.73
7.2.320.0130.01016.70
7.2.310.0190.00316.61
7.2.300.0110.00716.81
7.2.290.0150.00316.88
7.2.250.0100.00915.14
7.2.240.0100.01014.88
7.2.230.0090.00915.14
7.2.220.0000.01714.90
7.2.210.0060.01215.24
7.2.200.0040.00715.23
7.2.190.0070.00714.82
7.2.180.0040.00814.90
7.2.170.0060.00915.19
7.1.330.0030.00915.57
7.1.320.0040.00816.07
7.1.310.0060.01215.89
7.1.300.0000.01715.66
7.1.290.0030.01615.69
7.1.280.0030.00615.56
7.1.270.0030.01015.84
7.1.260.0030.00615.68
7.1.200.0000.01415.93
7.1.70.0110.00517.18
7.1.60.0080.01119.46
7.1.50.0090.01616.70
7.1.00.0070.07322.52
7.0.200.0000.00716.97
7.0.140.0000.07322.09
7.0.60.0000.05320.02
7.0.50.0100.08717.86
7.0.40.0100.05320.08
7.0.30.0230.03719.98
7.0.20.0270.03720.12
7.0.10.0030.04720.33
7.0.00.0030.05020.17
5.6.280.0000.07721.04
5.6.210.0000.09020.47
5.6.200.0130.07718.18
5.6.190.0000.09320.48
5.6.180.0070.05720.33
5.6.170.0170.07720.49
5.6.160.0170.07320.34
5.6.150.0070.08718.18
5.6.140.0200.06718.18
5.6.130.0070.03718.15
5.6.120.0170.07021.12
5.6.110.0070.06720.99
5.6.100.0030.08721.13
5.6.90.0130.07720.95
5.6.80.0130.07020.53
5.5.350.0030.04020.30
5.5.340.0130.07017.88
5.5.330.0070.07720.23
5.5.320.0100.03320.33
5.5.310.0400.07020.26
5.5.300.0100.08017.92
5.5.290.0000.04717.97
5.5.280.0100.08020.73
5.5.270.0030.05320.72
5.5.260.0130.08320.76
5.5.250.0100.07320.58
5.5.240.0000.08720.02
5.4.450.0200.07719.23
5.4.440.0200.05019.41
5.4.430.0170.07319.56
5.4.420.0170.04019.13
5.4.410.0130.04719.13
5.4.400.0100.07319.13
5.4.390.0200.05719.09
5.4.380.0130.04019.10
5.4.370.0170.07019.25
5.4.360.0100.05018.79
5.4.350.0170.03719.10
5.4.340.0270.07319.25
5.4.320.0170.04718.93
5.4.310.0170.06019.25
5.4.300.0130.07719.21
5.4.290.0130.06719.09
5.4.280.0230.07319.23
5.4.270.0170.04319.12
5.4.260.0170.07718.79
5.4.250.0230.06719.07
5.4.240.0270.03719.26
5.4.230.0230.07319.12
5.4.220.0230.07319.21
5.4.210.0200.05318.88
5.4.200.0170.04719.08
5.4.190.0300.06018.78
5.4.180.0130.06319.12
5.4.170.0270.03719.07
5.4.160.0230.06719.06
5.4.150.0200.07718.86
5.4.140.0100.05316.29
5.4.130.0100.04316.45
5.4.120.0130.06016.26
5.4.110.0270.04716.32
5.4.100.0270.07016.34
5.4.90.0170.04016.38
5.4.80.0230.06716.35
5.4.70.0230.05716.40
5.4.60.0170.05016.16
5.4.50.0200.07016.27
5.4.40.0200.05316.45
5.4.30.0230.04716.05
5.4.20.0200.04716.39
5.4.10.0200.06316.36
5.4.00.0270.03715.82
5.3.290.0170.07714.61
5.3.280.0200.07014.52
5.3.270.0170.04314.63
5.3.260.0270.06714.59
5.3.250.0230.04714.56
5.3.240.0230.06014.55
5.3.230.0230.07314.45
5.3.220.0130.08014.51
5.3.210.0100.06014.61
5.3.200.0070.06014.54
5.3.190.0230.06014.66
5.3.180.0170.06714.65
5.3.170.0200.07014.67
5.3.160.0230.05014.59
5.3.150.0200.05014.59
5.3.140.0230.06314.50
5.3.130.0270.05714.39
5.3.120.0200.04714.38
5.3.110.0170.07314.59
5.3.100.0230.04313.89
5.3.90.0230.06313.85
5.3.80.0130.07314.06
5.3.70.0200.05314.05
5.3.60.0230.04713.83
5.3.50.0170.07013.74
5.3.40.0200.07013.91
5.3.30.0270.06713.76
5.3.20.0170.06313.53
5.3.10.0230.06713.52
5.3.00.0170.07313.41
5.2.170.0200.05712.03
5.2.160.0200.05312.03
5.2.150.0070.04312.03
5.2.140.0130.06312.03
5.2.130.0100.03712.03
5.2.120.0170.03712.03
5.2.110.0200.05712.03
5.2.100.0300.04312.03
5.2.90.0170.06312.03
5.2.80.0130.06312.03
5.2.70.0230.05312.03
5.2.60.0100.04712.03
5.2.50.0200.03712.03
5.2.40.0100.05712.03
5.2.30.0170.03712.03
5.2.20.0230.04012.03
5.2.10.0070.04712.03
5.2.00.0070.05012.03
5.1.60.0230.03312.03
5.1.50.0130.03312.03
5.1.40.0170.03012.03
5.1.30.0170.02712.03
5.1.20.0070.03012.03
5.1.10.0070.03012.03
5.1.00.0170.02012.03
5.0.50.0030.04712.03
5.0.40.0100.02012.03
5.0.30.0100.04012.03
5.0.20.0130.03712.03
5.0.10.0100.04012.03
5.0.00.0130.04712.03
4.4.90.0100.03312.03
4.4.80.0100.02012.03
4.4.70.0070.01712.03
4.4.60.0070.03712.03
4.4.50.0100.03312.03
4.4.40.0070.04012.03
4.4.30.0070.02712.03
4.4.20.0100.03012.03
4.4.10.0100.01312.03
4.4.00.0100.03312.03
4.3.110.0070.02012.03
4.3.100.0130.03012.03
4.3.90.0070.03012.03
4.3.80.0100.04712.03
4.3.70.0100.02012.03
4.3.60.0070.02012.03
4.3.50.0030.03712.03
4.3.40.0030.03012.03
4.3.30.0030.02312.03
4.3.20.0030.03312.03
4.3.10.0130.02012.03
4.3.00.0100.02712.03

preferences:
39.5 ms | 401 KiB | 5 Q