3v4l.org

run code in 300+ PHP versions simultaneously
<?php $newdata = array ( 'wpseo_title' => 'test1', 'wpseo_desc' => 'test2', 'wpseo_metakey' => 'test3' ); $count=0; $count2=100; foreach ($newdata as $key => $newdat) { $count++; $count2++; echo $newdat;echo $count; array_push($newdata, $count, $count2); //array_push($newdata, $count2); } var_dump($newdata); // 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.40.0170.00318.93
8.3.30.0070.00719.27
8.3.20.0030.00520.30
8.3.10.0030.00623.57
8.3.00.0080.00018.98
8.2.170.0070.00722.96
8.2.160.0110.00420.36
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0030.00620.97
8.2.110.0130.00722.25
8.2.100.0080.00317.72
8.2.90.0040.00419.20
8.2.80.0000.00817.97
8.2.70.0080.00017.63
8.2.60.0000.00717.93
8.2.50.0040.00418.07
8.2.40.0040.00419.95
8.2.30.0030.00518.23
8.2.20.0070.00017.61
8.2.10.0000.00818.11
8.2.00.0040.00417.73
8.1.270.0040.00422.06
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00723.88
8.1.230.0090.00319.09
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0080.00017.13
8.1.180.0000.00818.10
8.1.170.0040.00418.36
8.1.160.0070.00021.90
8.1.150.0040.00418.56
8.1.140.0070.00017.35
8.1.130.0020.00517.66
8.1.120.0040.00417.42
8.1.110.0030.00717.43
8.1.100.0050.00217.46
8.1.90.0000.00817.37
8.1.80.0000.00817.34
8.1.70.0080.00017.29
8.1.60.0000.00717.61
8.1.50.0030.00617.37
8.1.40.0030.00617.41
8.1.30.0000.00817.55
8.1.20.0040.00417.64
8.1.10.0040.00417.51
8.1.00.0050.00217.41
8.0.300.0080.00018.77
8.0.290.0070.00317.05
8.0.280.0030.00318.30
8.0.270.0080.00017.17
8.0.260.0000.00618.32
8.0.250.0030.00316.98
8.0.240.0100.00016.95
8.0.230.0000.00616.90
8.0.220.0000.00716.88
8.0.210.0030.00316.88
8.0.200.0030.00316.91
8.0.190.0050.00316.97
8.0.180.0000.00716.88
8.0.170.0000.00916.87
8.0.160.0040.00416.87
8.0.150.0040.00416.80
8.0.140.0000.00716.78
8.0.130.0030.00313.35
8.0.120.0030.00616.89
8.0.110.0040.00416.77
8.0.100.0030.00716.75
8.0.90.0050.00316.85
8.0.80.0150.00716.85
8.0.70.0040.00416.71
8.0.60.0000.00716.95
8.0.50.0040.00416.81
8.0.30.0110.00917.02
8.0.20.0170.00417.40
8.0.10.0040.00417.00
8.0.00.0080.01116.64
7.4.330.0030.00315.15
7.4.320.0000.00716.59
7.4.300.0000.00616.47
7.4.290.0000.00716.43
7.4.280.0040.00416.59
7.4.270.0040.00416.49
7.4.260.0000.00716.46
7.4.250.0040.00416.53
7.4.240.0070.00016.40
7.4.230.0000.00716.61
7.4.220.0090.00916.63
7.4.210.0050.00916.51
7.4.200.0030.00316.39
7.4.190.0000.00716.54
7.4.160.0060.01216.51
7.4.150.0060.01117.40
7.4.140.0160.00917.86
7.4.130.0110.00616.56
7.4.120.0070.01216.54
7.4.110.0130.00616.32
7.4.100.0130.01016.48
7.4.90.0000.01816.46
7.4.80.0090.00919.39
7.4.70.0070.01116.46
7.4.60.0110.00716.52
7.4.50.0030.00316.32
7.4.40.0060.01216.70
7.4.30.0080.00816.68
7.4.10.0110.00615.05
7.4.00.0080.00815.04
7.3.330.0030.00313.11
7.3.320.0050.00013.14
7.3.310.0040.00416.16
7.3.300.0060.00016.36
7.3.290.0050.01016.31
7.3.280.0080.01116.33
7.3.270.0130.00617.40
7.3.260.0000.01716.42
7.3.250.0100.01116.44
7.3.240.0090.00516.64
7.3.230.0210.00016.48
7.3.210.0110.00716.43
7.3.200.0100.01019.39
7.3.190.0030.01516.66
7.3.180.0060.01516.45
7.3.170.0030.01316.55
7.3.160.0160.00316.23
7.3.130.0000.01814.55
7.3.120.0090.01014.95
7.3.110.0030.01514.96
7.3.100.0100.00614.78
7.3.90.0050.01014.94
7.3.80.0050.00714.91
7.3.70.0000.01414.68
7.3.60.0100.00614.74
7.3.50.0080.00814.79
7.3.40.0070.00614.69
7.3.30.0020.00914.89
7.3.20.0040.01316.61
7.3.10.0050.00616.69
7.3.00.0070.00916.68
7.2.330.0100.00716.69
7.2.320.0070.01516.54
7.2.310.0070.01716.69
7.2.300.0100.01016.52
7.2.290.0140.00416.63
7.2.260.0100.00614.97
7.2.250.0100.00915.10
7.2.240.0060.01215.20
7.2.230.0070.00814.98
7.2.220.0030.01114.91
7.2.210.0040.00614.97
7.2.200.0080.00714.96
7.2.190.0130.00514.89
7.2.180.0090.00714.97
7.2.170.0090.00414.85
7.2.160.0120.00615.01
7.2.150.0070.01116.81
7.2.140.0140.00416.91
7.2.130.0060.00916.77
7.2.120.0000.01116.85
7.2.110.0040.01416.84
7.2.100.0030.00716.69
7.2.90.0060.01216.70
7.2.80.0090.00616.91
7.2.70.0060.01016.83
7.2.60.0030.01016.79
7.2.50.0060.00617.07
7.2.40.0000.01416.98
7.2.30.0000.01416.56
7.2.20.0090.00316.95
7.2.10.0030.01316.66
7.2.00.0060.00818.26
7.1.330.0080.00516.03
7.1.320.0060.00815.86
7.1.310.0090.00615.83
7.1.300.0090.00615.91
7.1.290.0070.00915.80
7.1.280.0050.00815.89
7.1.270.0040.01115.78
7.1.260.0050.00715.70
7.1.250.0030.00915.61
7.1.240.0120.00315.85
7.1.230.0040.00715.91
7.1.220.0030.01015.76
7.1.210.0040.00715.98
7.1.200.0070.00715.98
7.1.190.0040.01115.97
7.1.180.0040.00815.86
7.1.170.0030.01015.84
7.1.160.0030.00715.79
7.1.150.0080.00615.77
7.1.140.0030.00715.81
7.1.130.0070.00415.87
7.1.120.0070.00415.98
7.1.110.0030.00915.96
7.1.100.0060.00817.02
7.1.90.0070.01015.91
7.1.80.0060.00615.71
7.1.70.0020.00816.39
7.1.60.0080.01017.66
7.1.50.0080.01216.46
7.1.40.0130.00015.95
7.1.30.0030.01015.73
7.1.20.0040.00415.83
7.1.10.0000.01115.90
7.1.00.0030.04219.15
7.0.330.0090.00915.18
7.0.320.0070.01015.26
7.0.310.0040.01215.46
7.0.300.0080.00615.39
7.0.290.0060.00615.40
7.0.280.0080.00015.22
7.0.270.0100.00715.50
7.0.260.0080.00615.25
7.0.250.0080.00315.53
7.0.240.0000.00915.40
7.0.230.0100.00015.14
7.0.220.0060.00915.54
7.0.210.0040.01215.32
7.0.200.0020.00716.20
7.0.190.0000.01015.45
7.0.180.0110.00415.41
7.0.170.0000.00915.59
7.0.160.0000.01215.61
7.0.150.0100.00615.53
7.0.140.0080.03718.78
7.0.130.0120.00315.38
7.0.120.0120.00315.43
7.0.110.0110.00415.41
7.0.100.0030.00615.35
7.0.90.0030.01115.21
7.0.80.0000.01115.45
7.0.70.0090.00315.47
7.0.60.0020.02717.76
7.0.50.0080.02816.67
7.0.40.0030.04016.97
7.0.30.0180.02516.72
7.0.20.0170.04216.94
7.0.10.0080.02616.77
7.0.00.0050.04516.78
5.6.400.0070.01014.76
5.6.390.0120.00414.53
5.6.380.0040.01214.73
5.6.370.0000.01714.30
5.6.360.0060.00314.39
5.6.350.0080.00014.49
5.6.340.0050.00514.28
5.6.330.0090.00614.50
5.6.320.0070.00714.44
5.6.310.0030.00614.36
5.6.300.0070.00714.14
5.6.290.0060.00614.41
5.6.280.0070.03817.61
5.6.270.0030.00714.18
5.6.260.0100.00014.52
5.6.250.0070.01014.48
5.6.240.0070.00714.75
5.6.230.0070.00314.25
5.6.220.0040.01414.46
5.6.210.0100.04217.52
5.6.200.0020.04816.21
5.6.190.0120.02517.45
5.6.180.1940.02017.38
5.6.170.0170.04217.46
5.6.160.0130.04117.37
5.6.150.0140.03816.36
5.6.140.0070.02416.32
5.6.130.0030.02616.29
5.6.120.0060.02617.72
5.6.110.0070.02817.63
5.6.100.0050.04617.79
5.6.90.0090.03517.86
5.6.80.0050.04517.39
5.6.70.0060.00614.33
5.6.60.0030.00614.25
5.6.50.0000.01414.45
5.6.40.0030.01314.61
5.6.30.0090.00014.45
5.6.20.0070.00714.04
5.6.10.0000.01314.41
5.6.00.0070.00714.15
5.5.380.0030.01014.38
5.5.370.0000.01214.25
5.5.360.0080.00814.57
5.5.350.0230.03317.34
5.5.340.0020.02316.16
5.5.330.0060.02617.14
5.5.320.0130.02517.44
5.5.310.0200.03517.20
5.5.300.0030.03516.34
5.5.290.0100.04016.17
5.5.280.0080.02317.61
5.5.270.0030.02917.44
5.5.260.0050.04817.56
5.5.250.0050.02317.44
5.5.240.1980.02317.20
5.5.230.0000.01213.98
5.5.220.0080.00414.50
5.5.210.0030.01414.27
5.5.200.0030.01014.34
5.5.190.0080.00314.20
5.5.180.0000.01814.16
5.5.170.0040.00414.04
5.5.160.0070.00414.28
5.5.150.0030.00814.35
5.5.140.0040.01014.22
5.5.130.0080.00014.25
5.5.120.0030.00614.23
5.5.110.0120.00014.15
5.5.100.0060.00614.36
5.5.90.0040.00714.38
5.5.80.0090.00614.50
5.5.70.0060.00914.49
5.5.60.0030.00614.08
5.5.50.0060.00614.24
5.5.40.0080.00414.46
5.5.30.0070.00714.05
5.5.20.0030.01314.40
5.5.10.0100.00714.16
5.5.00.0030.01014.35
5.4.450.0340.03115.14
5.4.440.0470.03115.38
5.4.430.0350.03715.19
5.4.420.0550.02715.21
5.4.410.0450.03415.36
5.4.400.0500.02715.22
5.4.390.0470.03615.21
5.4.380.0080.03214.96
5.4.370.0050.03414.91
5.4.360.0110.02314.87
5.4.350.0150.02514.93
5.4.340.0080.03414.98
5.4.330.0040.00411.24
5.4.320.0040.02011.85
5.4.310.0030.02311.85
5.4.300.0040.02211.85
5.4.290.0060.02711.85
5.4.280.0070.02511.80
5.4.270.0040.02811.79
5.4.260.0050.02511.79
5.4.250.0050.02011.79
5.4.240.0060.01911.79
5.4.230.0070.02811.79
5.4.220.0050.02711.79
5.4.210.0050.02311.79
5.4.200.0110.02311.79
5.4.190.0070.02211.79
5.4.180.0020.02711.79
5.4.170.0030.02211.79
5.4.160.0060.01911.79
5.4.150.0050.01911.79
5.4.140.0090.01811.63
5.4.130.0060.02511.63
5.4.120.0050.02011.61
5.4.110.0070.01811.61
5.4.100.0070.01911.61
5.4.90.0060.02111.60
5.4.80.0040.02411.61
5.4.70.0060.02111.61
5.4.60.0050.02311.61
5.4.50.0050.02311.60
5.4.40.0040.02511.60
5.4.30.0070.01911.62
5.4.20.0080.01811.60
5.4.10.0070.02611.60
5.4.00.0050.02211.34
5.3.290.0060.02112.02
5.3.280.0040.02411.98
5.3.270.0040.02311.98
5.3.260.0040.03111.98
5.3.250.0070.02711.98
5.3.240.0070.02811.98
5.3.230.0060.03011.98
5.3.220.0020.02211.96
5.3.210.0040.02611.96
5.3.200.0080.02211.96
5.3.190.0040.03311.96
5.3.180.0040.02611.96
5.3.170.0080.02411.96
5.3.160.0080.02011.96
5.3.150.0060.02211.96
5.3.140.0060.02411.95
5.3.130.0060.02411.95
5.3.120.0070.02311.95
5.3.110.0060.02811.95
5.3.100.0080.02711.68
5.3.90.0070.02511.66
5.3.80.0060.02311.66
5.3.70.0040.02211.66
5.3.60.0050.02311.65
5.3.50.0040.02311.62
5.3.40.0060.02011.62
5.3.30.0070.01911.59
5.3.20.0040.02111.48
5.3.10.0060.01911.47
5.3.00.0040.02111.46
5.2.170.0050.0309.18
5.2.160.0050.0299.18
5.2.150.0050.0329.18
5.2.140.0040.0329.18
5.2.130.0070.0339.14
5.2.120.0060.0299.14
5.2.110.0060.0289.14
5.2.100.0080.0319.14
5.2.90.0060.0309.13
5.2.80.0050.0329.13
5.2.70.0050.0409.13
5.2.60.0040.0339.09
5.2.50.0050.0329.06
5.2.40.0030.0319.03
5.2.30.0060.0329.01
5.2.20.0090.0389.00
5.2.10.0100.0308.94
5.2.00.0060.0308.80
5.1.60.0070.0268.08
5.1.50.0100.0308.07
5.1.40.0040.0378.06
5.1.30.0080.0358.41
5.1.20.0080.0388.43
5.1.10.0070.0358.15
5.1.00.0060.0548.15
5.0.50.0090.0306.63
5.0.40.0050.0216.49
5.0.30.0020.0456.31
5.0.20.0060.0206.27
5.0.10.0040.0286.25
5.0.00.0060.0386.25
4.4.90.0050.0174.78
4.4.80.0020.0184.75
4.4.70.0030.0164.76
4.4.60.0030.0224.75
4.4.50.0030.0234.77
4.4.40.0050.0324.71
4.4.30.0030.0224.76
4.4.20.0030.0174.84
4.4.10.0050.0224.85
4.4.00.0050.0284.75
4.3.110.0050.0154.67
4.3.100.0060.0134.66
4.3.90.0030.0154.64
4.3.80.0040.0244.58
4.3.70.0020.0164.63
4.3.60.0030.0224.63
4.3.50.0050.0214.63
4.3.40.0050.0264.54
4.3.30.0030.0163.30
4.3.20.0050.0153.28
4.3.10.0030.0163.23
4.3.00.0170.0206.88

preferences:
66.36 ms | 400 KiB | 5 Q