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++; $count100++; echo $newdat;echo $count; array_push($newdata, $count); array_push($newdata, $count100); } 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.60.0140.00716.73
8.3.50.0120.00521.99
8.3.40.0090.01218.84
8.3.30.0070.00719.13
8.3.20.0040.00420.34
8.3.10.0080.00023.28
8.3.00.0000.00918.88
8.2.180.0110.00416.75
8.2.170.0120.00622.96
8.2.160.0100.00320.52
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0060.00320.72
8.2.110.0090.00022.16
8.2.100.0110.00018.03
8.2.90.0030.00519.17
8.2.80.0000.00817.97
8.2.70.0030.00517.88
8.2.60.0040.00418.05
8.2.50.0060.00318.07
8.2.40.0040.00419.95
8.2.30.0050.00318.31
8.2.20.0030.00617.86
8.2.10.0040.00418.15
8.2.00.0070.00017.71
8.1.280.0150.00325.92
8.1.270.0060.00318.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00422.14
8.1.230.0080.00419.16
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0030.00518.57
8.1.160.0040.00421.95
8.1.150.0000.00718.64
8.1.140.0070.00017.33
8.1.130.0040.00417.81
8.1.120.0040.00417.34
8.1.110.0040.00417.48
8.1.100.0050.00317.50
8.1.90.0000.00717.47
8.1.80.0000.00717.46
8.1.70.0030.00317.45
8.1.60.0050.00317.59
8.1.50.0040.00417.34
8.1.40.0040.00417.42
8.1.30.0030.00517.54
8.1.20.0000.00817.68
8.1.10.0000.00717.49
8.1.00.0060.00317.48
8.0.300.0000.00818.77
8.0.290.0000.00817.15
8.0.280.0000.00718.53
8.0.270.0030.00317.16
8.0.260.0060.00017.30
8.0.250.0080.00017.00
8.0.240.0040.00417.03
8.0.230.0030.00317.03
8.0.220.0070.00016.99
8.0.210.0000.00716.96
8.0.200.0000.00616.90
8.0.190.0070.00016.99
8.0.180.0080.00017.00
8.0.170.0030.00517.01
8.0.160.0030.00416.98
8.0.150.0030.00316.79
8.0.140.0070.00016.89
8.0.130.0040.00413.45
8.0.120.0030.00616.93
8.0.110.0040.00416.95
8.0.100.0000.00816.85
8.0.90.0000.00716.84
8.0.80.0070.01416.96
8.0.70.0050.00317.00
8.0.60.0040.00416.84
8.0.50.0000.00717.07
8.0.30.0100.00817.24
8.0.20.0100.01017.40
8.0.10.0070.00017.01
8.0.00.0090.01016.88
7.4.330.0060.00015.00
7.4.320.0030.00316.53
7.4.300.0080.00016.49
7.4.290.0070.00016.50
7.4.280.0000.00716.53
7.4.270.0040.00416.46
7.4.260.0000.00716.49
7.4.250.0040.00416.37
7.4.240.0040.00316.54
7.4.230.0000.00716.63
7.4.220.0130.01316.67
7.4.210.0070.00916.56
7.4.200.0000.00816.70
7.4.190.0030.00316.76
7.4.160.0040.01216.48
7.4.150.0110.00817.40
7.4.140.0140.01017.86
7.4.130.0120.00816.59
7.4.120.0130.00516.64
7.4.110.0160.00516.61
7.4.100.0080.01216.47
7.4.90.0070.01016.66
7.4.80.0130.00819.39
7.4.70.0110.00616.63
7.4.60.0060.01016.38
7.4.50.0030.00316.43
7.4.40.0070.00816.66
7.4.30.0070.01016.62
7.4.00.0080.00815.19
7.3.330.0030.00413.27
7.3.320.0000.00513.13
7.3.310.0000.00816.44
7.3.300.0000.00616.40
7.3.290.0090.01216.50
7.3.280.0070.00916.45
7.3.270.0080.00817.40
7.3.260.0130.00416.35
7.3.250.0040.01416.35
7.3.240.0070.01516.51
7.3.230.0120.00916.40
7.3.210.0110.00816.43
7.3.200.0120.00619.39
7.3.190.0000.01916.64
7.3.180.0070.01416.50
7.3.170.0060.00916.39
7.3.160.0060.00916.38
7.3.120.0110.00714.59
7.2.330.0140.00316.65
7.2.320.0080.01616.71
7.2.310.0090.01516.32
7.2.300.0060.01216.74
7.2.290.0100.01316.52
7.2.00.0030.00919.34
7.1.100.0060.00618.16
7.1.70.0030.00617.18
7.1.60.0040.01919.46
7.1.50.0110.00716.99
7.1.00.0030.07722.36
7.0.200.0000.00716.53
7.0.140.0030.07021.95
7.0.60.0100.08019.91
7.0.50.0100.07717.88
7.0.40.0170.07319.98
7.0.30.0230.04320.17
7.0.20.0230.04720.00
7.0.10.0070.06320.33
7.0.00.0100.03720.03
5.6.280.0070.07021.04
5.6.210.0130.05320.56
5.6.200.0100.08318.09
5.6.190.0100.07720.50
5.6.180.0400.06020.66
5.6.170.0200.08720.44
5.6.160.0200.07020.49
5.6.150.0030.08718.18
5.6.140.0070.07718.12
5.6.130.0000.08318.15
5.6.120.0100.03721.01
5.6.110.0130.06720.98
5.6.100.0070.06721.02
5.6.90.0170.05021.00
5.6.80.0100.07720.46
5.5.350.0370.06020.43
5.5.340.0030.05017.97
5.5.330.0070.07720.36
5.5.320.0030.08720.29
5.5.310.0170.04320.20
5.5.300.0000.05317.92
5.5.290.0100.04317.95
5.5.280.0100.07020.76
5.5.270.0170.08020.82
5.5.260.0000.07320.95
5.5.250.0030.04720.61
5.5.240.0030.08320.26
5.4.450.0600.05019.32
5.4.440.1000.06019.62
5.4.430.1400.05719.41
5.4.420.0030.06019.53
5.4.410.0870.05019.33
5.4.400.0270.06319.21
5.4.390.1030.06019.27
5.4.380.0130.05718.79
5.4.370.0130.07318.67
5.4.360.0130.07018.68
5.4.350.0170.05018.50
5.4.340.0230.04318.50
5.4.320.0080.03412.45
5.4.310.0100.03212.45
5.4.300.0040.03812.46
5.4.290.0070.04112.45
5.4.280.0100.05412.35
5.4.270.0070.05112.35
5.4.260.0070.05412.35
5.4.250.0070.05312.35
5.4.240.0080.04812.35
5.4.230.0140.05412.34
5.4.220.0110.05912.34
5.4.210.0110.05812.34
5.4.200.0070.03612.34
5.4.190.0060.04712.34
5.4.180.0110.04412.34
5.4.170.0080.04612.35
5.4.160.0080.04712.34
5.4.150.0080.05012.34
5.4.140.0100.04812.02
5.4.130.0060.03812.01
5.4.120.0040.03811.97
5.4.110.0070.03611.97
5.4.100.0080.03611.96
5.4.90.0070.03711.96
5.4.80.0030.04011.96
5.4.70.0050.03511.96
5.4.60.0070.03311.96
5.4.50.0070.03511.95
5.4.40.0050.03611.95
5.4.30.0020.04411.95
5.4.20.0020.04111.95
5.4.10.0060.03711.95
5.4.00.0050.03911.44
5.3.290.0090.04012.80
5.3.280.0060.04212.70
5.3.270.0070.03912.72
5.3.260.0090.04312.72
5.3.250.0040.04112.72
5.3.240.0090.03712.72
5.3.230.0090.03812.71
5.3.220.0050.04312.68
5.3.210.0120.04512.68
5.3.200.0110.04312.68
5.3.190.0100.05012.68
5.3.180.0080.05512.67
5.3.170.0060.04812.66
5.3.160.0060.05012.67
5.3.150.0070.03712.68
5.3.140.0060.03912.66
5.3.130.0060.04012.66
5.3.120.0080.03912.66
5.3.110.0100.05212.66
5.3.100.0080.04512.11
5.3.90.0100.04212.09
5.3.80.0070.04712.08
5.3.70.0080.03412.07
5.3.60.0080.03912.06
5.3.50.0060.03912.00
5.3.40.0050.03812.00
5.3.30.0100.03411.94
5.3.20.0090.03411.72
5.3.10.0080.03511.69
5.3.00.0070.03711.68
5.2.170.0070.0309.18
5.2.160.0060.0299.18
5.2.150.0060.0319.18
5.2.140.0080.0369.18
5.2.130.0120.0359.14
5.2.120.0090.0359.14
5.2.110.0100.0309.15
5.2.100.0050.0389.14
5.2.90.0070.0379.14
5.2.80.0070.0409.13
5.2.70.0050.0379.13
5.2.60.0100.0359.09
5.2.50.0120.0449.05
5.2.40.0070.0399.03
5.2.30.0060.0299.01
5.2.20.0080.0269.00
5.2.10.0040.0308.94
5.2.00.0060.0298.79
5.1.60.0090.0248.08
5.1.50.0050.0248.08
5.1.40.0050.0248.05
5.1.30.0050.0268.41
5.1.20.0060.0268.43
5.1.10.0060.0258.16
5.1.00.0060.0268.16
5.0.50.0050.0206.64
5.0.40.0050.0206.50
5.0.30.0070.0336.31
5.0.20.0050.0206.28
5.0.10.0040.0196.25
5.0.00.0020.0436.25
4.4.90.0020.0184.78
4.4.80.0030.0144.76
4.4.70.0040.0144.75
4.4.60.0020.0164.76
4.4.50.0050.0144.77
4.4.40.0010.0274.70
4.4.30.0020.0164.76
4.4.20.0040.0144.85
4.4.10.0040.0154.85
4.4.00.0020.0264.76
4.3.110.0010.0184.67
4.3.100.0000.0184.66
4.3.90.0010.0164.64
4.3.80.0030.0244.58
4.3.70.0030.0164.63
4.3.60.0020.0154.63
4.3.50.0030.0164.63
4.3.40.0030.0244.54
4.3.30.0010.0173.30
4.3.20.0030.0153.28
4.3.10.0010.0173.23
4.3.00.0030.01016.15

preferences:
55.23 ms | 400 KiB | 5 Q