3v4l.org

run code in 500+ PHP versions simultaneously
<?php $date = array("08.2018", "08.2018", "08.2018"); $time = array("09:30", "10:30", "11:30"); $message = array("a", "b", "c"); //this are my arrays that are filled from mysql result and this works in this arrays all is all data. $iterator = new MultipleIterator(); $iterator->attachIterator(new ArrayIterator($date)); $iterator->attachIterator(new ArrayIterator($time)); $iterator->attachIterator(new ArrayIterator($message)); foreach($iterator as $i) { echo $i[0]; echo $i[1]; echo $i[2]; echo PHP_EOL; }

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.5.30.0060.00319.53
8.5.20.0110.00619.60
8.5.10.0100.00716.75
8.5.00.0160.01020.05
8.4.180.0130.00825.76
8.4.170.0120.00923.91
8.4.160.0160.00523.91
8.4.150.0090.00316.88
8.4.140.0110.00917.25
8.4.130.0130.00817.84
8.4.120.0080.00820.69
8.4.110.0130.00818.76
8.4.100.0140.00717.61
8.4.90.0160.00417.55
8.4.80.0100.00917.73
8.4.70.0130.00819.50
8.4.60.0090.00617.84
8.4.50.0060.00818.84
8.4.40.0000.00917.88
8.4.30.0100.01017.58
8.4.20.0170.00317.79
8.4.10.0080.00819.60
8.3.300.0130.00722.77
8.3.290.0170.00918.22
8.3.280.0150.00618.38
8.3.270.0130.00616.33
8.3.260.0100.01016.52
8.3.250.0120.00719.08
8.3.240.0130.00616.73
8.3.230.0070.01216.43
8.3.220.0150.00317.41
8.3.210.0110.00816.53
8.3.200.0140.00516.73
8.3.190.0090.00919.08
8.3.180.0040.00517.29
8.3.170.0100.01018.76
8.3.160.0120.00618.39
8.3.150.0070.00717.04
8.3.140.0110.00716.65
8.3.130.0130.00718.36
8.3.120.0040.00418.82
8.3.110.0080.00420.94
8.3.100.0060.00324.06
8.3.90.0080.00026.77
8.3.80.0080.00317.97
8.3.70.0070.00716.75
8.3.60.0070.00718.18
8.3.50.0090.00517.97
8.3.40.0070.00718.66
8.3.30.0110.00418.89
8.3.20.0050.00219.16
8.3.10.0080.00021.72
8.3.00.0080.00023.66
8.2.300.0110.01218.12
8.2.290.0140.00520.63
8.2.280.0120.00716.48
8.2.270.0100.00717.38
8.2.260.0150.00316.77
8.2.250.0090.00016.66
8.2.240.0060.01219.09
8.2.230.0110.00022.58
8.2.220.0060.00937.54
8.2.210.0040.00426.77
8.2.200.0040.00716.38
8.2.190.0130.00316.58
8.2.180.0120.00916.36
8.2.170.0030.01322.96
8.2.160.0040.01119.04
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0080.00020.70
8.2.120.0040.00426.35
8.2.110.0060.00320.99
8.2.100.0030.00917.91
8.2.90.0000.00817.63
8.2.80.0000.00817.97
8.2.70.0000.00818.16
8.2.60.0040.00418.03
8.2.50.0040.00418.10
8.2.40.0070.00019.18
8.2.30.0000.00720.62
8.2.20.0000.00818.23
8.2.10.0040.00418.08
8.2.00.0000.00719.48
8.1.340.0110.01218.26
8.1.330.0090.01018.39
8.1.320.0100.01016.23
8.1.310.0040.00416.30
8.1.300.0130.00616.00
8.1.290.0060.00330.84
8.1.280.0170.00425.92
8.1.270.0070.01123.68
8.1.260.0050.00226.35
8.1.250.0070.00028.09
8.1.240.0090.00017.35
8.1.230.0060.00620.87
8.1.220.0040.00418.56
8.1.210.0060.00318.77
8.1.200.0070.00317.35
8.1.190.0060.00617.23
8.1.180.0050.00318.10
8.1.170.0000.00818.89
8.1.160.0040.00418.93
8.1.150.0040.00418.79
8.1.140.0000.00718.94
8.1.130.0030.00619.12
8.1.120.0070.00317.48
8.1.110.0050.00317.34
8.1.100.0050.00217.36
8.1.90.0000.00717.29
8.1.80.0030.00517.42
8.1.70.0000.00817.46
8.1.60.0040.00417.56
8.1.50.0040.00417.36
8.1.40.0050.00317.50
8.1.30.0040.00417.63
8.1.20.0000.00817.67
8.1.10.0040.00417.54
8.1.00.0040.00417.49
8.0.300.0040.00418.77
8.0.290.0020.00516.75
8.0.280.0070.00018.31
8.0.270.0040.00417.30
8.0.260.0030.00317.21
8.0.250.0000.00716.95
8.0.240.0040.00416.99
8.0.230.0070.00016.96
8.0.220.0000.00716.79
8.0.210.0020.00516.85
8.0.200.0030.00316.86
8.0.190.0000.00717.00
8.0.180.0060.00316.80
8.0.170.0000.00916.87
8.0.160.0050.00316.93
8.0.150.0070.00016.88
8.0.140.0000.00716.81
8.0.130.0050.00013.36
8.0.120.0040.00416.91
8.0.110.0000.00716.80
8.0.100.0000.00716.91
8.0.90.0000.00716.84
8.0.80.0140.00216.88
8.0.70.0000.00716.77
8.0.60.0040.00416.95
8.0.50.0050.00316.71
8.0.30.0120.00517.16
8.0.20.0090.00917.40
8.0.10.0040.00416.83
8.0.00.0150.00616.90
7.4.330.0000.00515.55
7.4.320.0000.00716.50
7.4.300.0000.00616.50
7.4.290.0030.00316.50
7.4.280.0080.00016.59
7.4.270.0030.00316.52
7.4.260.0040.00316.61
7.4.250.0030.00316.55
7.4.240.0050.00216.51
7.4.230.0040.00416.72
7.4.220.0000.00716.34
7.4.210.0090.00916.50
7.4.200.0030.00316.68
7.4.160.0110.01016.62
7.4.140.0090.00817.86
7.4.130.0090.00916.62
7.4.120.0100.00816.43
7.4.110.0070.01016.51
7.4.100.0090.00916.42
7.4.90.0060.01216.41
7.4.80.0070.01719.39
7.4.70.0120.00816.60
7.4.60.0090.00616.57
7.4.50.0070.00716.38
7.4.40.0100.00716.44
7.4.00.0030.00915.00
7.3.330.0060.00313.18
7.3.320.0000.00613.17
7.3.310.0030.00316.20
7.3.300.0030.00316.36
7.3.290.0000.00716.27
7.3.280.0070.00816.32
7.3.260.0100.00816.43
7.3.240.0100.01016.28
7.3.230.0060.01216.61
7.3.210.0140.00316.29
7.3.200.0080.00916.27
7.3.190.0060.01216.40
7.3.180.0120.01016.60
7.3.170.0000.01616.45
7.3.160.0030.01316.48
7.2.330.0110.01116.62
7.2.320.0080.00816.51
7.2.310.0100.00716.51
7.2.300.0160.00316.69
7.2.290.0040.01216.59
7.2.80.0310.00914.51
7.2.70.0330.01015.07
7.2.60.0470.00715.06
7.2.50.0360.00715.07
7.2.40.0440.00314.73
7.2.30.0300.01015.07
7.2.20.0350.00614.53
7.2.10.0410.00614.96
7.2.00.0370.00614.91
7.1.200.0150.00315.89
7.1.190.0470.00313.72
7.1.180.0410.00713.93
7.1.170.0370.00013.70
7.1.160.0360.00313.74
7.1.150.0310.00713.82
7.1.140.0390.00713.55
7.1.130.0360.00714.08
7.1.120.0340.00614.04
7.1.110.0330.01113.93
7.1.100.0920.00713.86
7.1.90.0400.00713.54
7.1.80.0340.00713.54
7.1.70.0330.00613.85
7.1.60.0510.00731.85
7.1.50.0430.01631.68
7.1.40.0550.00331.61
7.1.30.0580.00331.94
7.1.20.0590.00331.76
7.1.10.0380.00713.45
7.1.00.0400.00313.84

preferences:
93.45 ms | 1420 KiB | 5 Q