3v4l.org

run code in 300+ PHP versions simultaneously
<?php $my_array=array(array('month'=> 3, 'day'=> 4, 'hour' => 1, 'minut' => 15, 'year'=> 2014), array('month'=> 5, 'day'=> 7, 'hour' => 1, 'minut' => 50, 'year'=> 2012) ); $i=0; foreach($my_array as $k => $v) { $new_array[i] = $v["year"]."-".$v["month"]."-".$v["day"]." ".$v["hour"].$v["minut"]; $i++; }

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.0110.00418.84
8.3.30.0110.00319.01
8.3.20.0050.00320.25
8.3.10.0000.00822.14
8.3.00.0040.00422.40
8.2.170.0100.00322.96
8.2.160.0180.00019.19
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0060.01326.16
8.2.120.0040.00419.52
8.2.110.0090.00022.11
8.2.100.0100.00018.18
8.2.90.0080.00019.22
8.2.80.0030.00518.05
8.2.70.0080.00017.75
8.2.60.0030.00617.78
8.2.50.0040.00418.07
8.2.40.0040.00417.91
8.2.30.0040.00417.98
8.2.20.0040.00417.79
8.2.10.0030.00617.63
8.2.00.0040.00717.81
8.1.270.0100.00618.68
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0040.00423.84
8.1.230.0070.00418.98
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0060.00317.48
8.1.190.0080.00017.54
8.1.180.0050.00318.60
8.1.170.0050.00518.66
8.1.160.0030.00522.17
8.1.150.0040.00418.51
8.1.140.0000.00717.37
8.1.130.0080.00017.79
8.1.120.0050.00217.47
8.1.110.0060.00317.36
8.1.100.0070.00017.31
8.1.90.0040.00417.44
8.1.80.0050.00217.42
8.1.70.0000.00717.44
8.1.60.0090.00017.61
8.1.50.0000.00817.42
8.1.40.0000.00817.47
8.1.30.0050.00317.62
8.1.20.0000.00817.55
8.1.10.0080.00317.41
8.1.00.0070.00017.44
8.0.300.0030.00618.77
8.0.290.0000.00917.02
8.0.280.0080.00018.46
8.0.270.0000.00717.25
8.0.260.0060.00316.76
8.0.250.0060.00016.99
8.0.240.0030.00716.91
8.0.230.0020.00517.00
8.0.220.0000.00716.86
8.0.210.0030.00616.96
8.0.200.0040.00416.96
8.0.190.0030.00617.06
8.0.180.0050.00216.97
8.0.170.0040.00416.98
8.0.160.0000.00816.99
8.0.150.0000.00716.79
8.0.140.0040.00416.80
8.0.130.0000.00513.34
8.0.120.0040.00417.03
8.0.110.0050.00316.80
8.0.100.0030.00517.00
8.0.90.0030.00516.78
8.0.80.0150.00016.95
8.0.70.0050.00216.95
8.0.60.0040.00416.87
8.0.50.0040.00417.01
8.0.30.0090.00917.12
8.0.20.0080.01117.40
8.0.10.0000.00717.02
8.0.00.0100.00816.80
7.4.330.0040.00015.00
7.4.320.0060.00016.41
7.4.300.0060.00016.41
7.4.290.0000.00716.50
7.4.280.0050.00516.43
7.4.270.0000.00716.67
7.4.260.0070.00016.52
7.4.250.0000.00816.57
7.4.240.0020.00616.59
7.4.230.0030.00316.59
7.4.220.0090.01016.54
7.4.210.0050.01116.51
7.4.200.0000.00716.39
7.4.190.0040.00416.77
7.4.160.0060.00916.77
7.4.150.0090.01217.40
7.4.140.0140.00817.86
7.4.130.0100.01116.51
7.4.120.0050.01116.62
7.4.110.0090.00916.68
7.4.100.0150.00716.55
7.4.90.0070.01016.46
7.4.80.0110.00719.39
7.4.70.0080.00816.52
7.4.60.0080.00816.52
7.4.50.0000.00816.32
7.4.40.0060.00922.77
7.4.30.0030.01216.55
7.4.00.0050.01114.98
7.3.330.0020.00213.09
7.3.320.0000.00613.13
7.3.310.0000.00716.39
7.3.300.0070.00016.33
7.3.290.0070.00716.34
7.3.280.0120.00516.37
7.3.270.0100.00717.40
7.3.260.0030.01316.33
7.3.250.0120.00516.48
7.3.240.0120.00616.65
7.3.230.0070.01416.50
7.3.210.0040.01416.36
7.3.200.0100.00716.41
7.3.190.0120.00616.41
7.3.180.0120.00416.37
7.3.170.0120.00316.52
7.3.160.0080.00716.47
7.3.120.0080.00714.87
7.3.110.0060.01114.79
7.3.100.0070.00914.76
7.3.90.0090.00514.81
7.3.80.0080.00614.88
7.3.70.0070.00614.67
7.3.60.0080.00414.84
7.3.50.0060.00814.70
7.3.40.0040.01014.73
7.3.30.0060.00714.82
7.3.20.0070.00716.73
7.3.10.0070.00716.48
7.3.00.0070.00816.68
7.2.330.0080.00816.71
7.2.320.0080.00916.48
7.2.310.0110.00616.68
7.2.300.0060.00916.63
7.2.290.0110.01116.70
7.2.250.0080.00914.96
7.2.240.0070.01015.02
7.2.230.0060.00915.25
7.2.220.0050.00814.85
7.2.210.0040.01115.15
7.2.200.0060.00714.87
7.2.190.0030.01015.08
7.2.180.0030.01014.96
7.2.170.0060.00915.12
7.2.160.0140.00014.59
7.2.150.0070.00716.77
7.2.140.0060.00316.96
7.2.130.0080.00816.91
7.2.120.0100.00316.62
7.2.110.0000.01616.68
7.2.100.0060.01216.76
7.2.90.0000.01516.70
7.2.80.0000.01016.68
7.2.70.0030.00916.91
7.2.60.0100.00316.89
7.2.50.0040.01516.77
7.2.40.0060.01216.75
7.2.30.0030.01216.82
7.2.20.0060.00617.02
7.2.10.0060.00916.94
7.2.00.0090.00318.08
7.1.330.0050.01015.85
7.1.320.0060.00615.77
7.1.310.0050.00715.79
7.1.300.0030.00815.67
7.1.290.0080.00515.81
7.1.280.0050.00915.73
7.1.270.0050.00915.64
7.1.260.0120.00415.70
7.1.250.0040.00815.57
7.1.240.0030.01015.55
7.1.230.0090.00615.89
7.1.220.0090.00015.70
7.1.210.0060.00315.68
7.1.200.0070.00315.89
7.1.190.0060.01015.83
7.1.180.0060.00615.81
7.1.170.0130.00315.86
7.1.160.0140.00615.61
7.1.150.0090.00315.92
7.1.140.0120.00315.91
7.1.130.0070.00315.82
7.1.120.0030.00915.89
7.1.110.0000.01515.68
7.1.100.0030.01016.86
7.1.90.0030.00915.52
7.1.80.0040.01215.85
7.1.70.0020.01116.36
7.1.60.0050.01117.86
7.1.50.0070.00516.44
7.1.40.0060.00615.71
7.1.30.0060.00915.74
7.1.20.0030.00715.79
7.1.10.0060.01215.85
7.1.00.0050.03219.11
7.0.330.0060.00615.16
7.0.320.0000.00915.42
7.0.310.0030.00615.52
7.0.300.0080.00815.24
7.0.290.0070.01115.38
7.0.280.0030.00915.50
7.0.270.0100.00315.25
7.0.260.0000.01415.37
7.0.250.0060.00314.97
7.0.240.0120.00015.38
7.0.230.0030.00915.45
7.0.220.0000.01515.42
7.0.210.0030.01315.43
7.0.200.0050.00615.85
7.0.190.0110.00415.52
7.0.180.0040.01115.36
7.0.170.0000.01315.52
7.0.160.0030.00615.33
7.0.150.0000.00915.34
7.0.140.0030.04218.66
7.0.130.0040.01115.48
7.0.120.0070.00315.58
7.0.110.0070.00715.45
7.0.100.0000.01215.36
7.0.90.0000.01115.38
7.0.80.0060.00615.15
7.0.70.0030.00715.21
7.0.60.0110.04117.55
7.0.50.0050.04716.57
7.0.40.0120.04216.74
7.0.30.0100.02616.68
7.0.20.0130.02216.67
7.0.10.0080.02716.87
7.0.00.0100.03016.63
5.6.400.0030.00614.29
5.6.390.0120.00014.66
5.6.380.0040.00714.73
5.6.370.0140.00014.54
5.6.360.0030.01214.10
5.6.350.0040.01414.71
5.6.340.0090.00914.61
5.6.330.0030.00714.43
5.6.320.0000.00914.74
5.6.310.0000.00914.18
5.6.300.0030.00914.38
5.6.290.0000.01414.36
5.6.280.0050.03817.61
5.6.270.0060.00314.17
5.6.260.0060.00614.39
5.6.250.0110.00414.47
5.6.240.0080.00814.47
5.6.230.0080.00514.33
5.6.220.0000.00914.26
5.6.210.0100.03817.45
5.6.200.0020.02516.28
5.6.190.0050.04617.58
5.6.180.0150.04817.39
5.6.170.0140.02617.49
5.6.160.0070.02517.32
5.6.150.0070.02516.25
5.6.140.0030.04316.32
5.6.130.0090.02316.20
5.6.120.0080.03017.79
5.6.110.0080.04617.67
5.6.100.0100.04317.67
5.6.90.0060.02417.65
5.6.80.0170.02717.52
5.6.70.1580.02617.33
5.6.60.0100.00314.22
5.6.50.0030.01514.43
5.6.40.0040.01414.23
5.6.30.0060.00814.43
5.6.20.0000.01714.26
5.6.10.0000.01814.19
5.6.00.0170.00014.39
5.5.380.0140.00914.47
5.5.370.0110.01114.63
5.5.360.0190.00414.54
5.5.350.0270.03517.20
5.5.340.0120.02516.29
5.5.330.0070.04817.27
5.5.320.0110.04417.40
5.5.310.0220.04217.43
5.5.300.0100.03216.24
5.5.290.0080.02816.14
5.5.280.0140.02417.60
5.5.270.0130.04617.61
5.5.260.0120.02317.55
5.5.250.0160.04117.54
5.5.240.0110.03817.24
5.5.230.0130.01014.20
5.5.220.0130.00714.02
5.5.210.0130.01314.39
5.5.200.0140.00914.36
5.5.190.0140.00914.42
5.5.180.0130.01014.06
5.5.170.0110.00814.10
5.5.160.0170.01014.15
5.5.150.0200.00414.32
5.5.140.0180.00614.24
5.5.130.0100.01714.36
5.5.120.0110.00714.32
5.5.110.0140.01214.56
5.5.100.0140.01414.34
5.5.90.0060.02014.09
5.5.80.0150.01114.25
5.5.70.0140.01414.25
5.5.60.0210.00514.39
5.5.50.0130.01014.23
5.5.40.0190.00814.21
5.5.30.0120.01214.44
5.5.20.0070.01514.47
5.5.10.0110.01614.06
5.5.00.0110.01514.57
5.4.450.0260.02015.39
5.4.440.0320.02414.93
5.4.430.0130.02315.21
5.4.420.0110.03115.44
5.4.410.0070.03315.31
5.4.400.0100.03315.22
5.4.390.0100.02714.94
5.4.380.0120.03214.93
5.4.370.0100.02714.92
5.4.360.0070.04014.92
5.4.350.0110.02311.46
5.4.340.0090.02511.36
5.4.330.0080.00411.01
5.4.320.0040.02411.67
5.4.310.0070.02311.67
5.4.300.0080.02311.65
5.4.290.0050.02411.63
5.4.280.0080.01911.61
5.4.270.0060.02111.55
5.4.260.0060.02011.74
5.4.250.0080.02814.86
5.4.240.0070.03014.92
5.4.230.0030.03314.89
5.4.220.0120.03714.97
5.4.210.0070.02914.94
5.4.200.0120.03514.81
5.4.190.0050.03014.85
5.4.180.0030.03214.84
5.4.170.0100.03114.87
5.4.160.0030.03115.00
5.4.150.0070.03014.74
5.4.140.0100.02513.71
5.4.130.0070.02813.70
5.4.120.0000.03513.63
5.4.110.0070.03013.74
5.4.100.0100.02513.69
5.4.90.0070.02713.64
5.4.80.0090.02413.66
5.4.70.0060.03413.85
5.4.60.0090.02613.81
5.4.50.0120.02713.47
5.4.40.0100.02513.63
5.4.30.0110.03313.59
5.4.20.0120.02713.62
5.4.10.0170.02113.55
5.4.00.0150.02713.48
5.3.290.0050.02511.73
5.3.280.0050.03412.41
5.3.270.0080.03912.59
5.3.260.0100.02512.55
5.3.250.0120.02512.46
5.3.240.0050.03112.32
5.3.230.0150.03212.39
5.3.220.0130.02912.47
5.3.210.0090.02912.53
5.3.200.0150.02212.36
5.3.190.0080.02712.49
5.3.180.0070.02912.52
5.3.170.0090.02512.66
5.3.160.0050.03012.59
5.3.150.0100.02612.52
5.3.140.0100.02612.50
5.3.130.0060.03112.62
5.3.120.0050.04012.58
5.3.110.0100.03712.61
5.3.100.0080.02612.39
5.3.90.0110.03312.23
5.3.80.0060.02612.13
5.3.70.0070.02712.16
5.3.60.0020.03612.09
5.3.50.0070.03112.18
5.3.40.0110.02312.13
5.3.30.0080.02712.21
5.3.20.0050.03012.03
5.3.10.0080.02711.98
5.3.00.0040.03111.73
5.2.170.0070.05711.06
5.2.160.0030.04010.90
5.2.150.0030.04311.06
5.2.140.0100.04311.16
5.2.130.0100.03711.11
5.2.120.0000.04711.02
5.2.110.0100.05011.11
5.2.100.0070.04711.18
5.2.90.0030.04311.18
5.2.80.0070.06311.10
5.2.70.0070.05710.99
5.2.60.0070.04311.06
5.2.50.0070.04311.00
5.2.40.0070.04011.01
5.2.30.0070.04711.07
5.2.20.0100.04010.71
5.2.10.0070.04310.94
5.2.00.0100.04010.65
5.1.60.0130.0439.90
5.1.50.0070.03710.23
5.1.40.0130.03710.21
5.1.30.0070.03310.39
5.1.20.0030.05310.43
5.1.10.0070.03310.30
5.1.00.0030.05310.07
5.0.50.0030.0308.59
5.0.40.0070.0308.44
5.0.30.0100.0438.28
5.0.20.0070.0238.34
5.0.10.0130.0308.13
5.0.00.0030.0408.39
4.4.90.0070.0176.82
4.4.80.0000.0236.82
4.4.70.0100.0276.82
4.4.60.0070.0206.82
4.4.50.0030.0306.82
4.4.40.0130.0236.82
4.4.30.0070.0206.82
4.4.20.0000.0276.82
4.4.10.0000.0236.82
4.4.00.0030.0336.82
4.3.110.0070.0206.82
4.3.100.0100.0136.82
4.3.90.0070.0206.82
4.3.80.0030.0306.82
4.3.70.0000.0376.82
4.3.60.0070.0176.82
4.3.50.0030.0206.82
4.3.40.0070.0306.82
4.3.30.0030.0206.82
4.3.20.0070.0176.82
4.3.10.0070.0236.82
4.3.00.0030.01714.52

preferences:
45.86 ms | 400 KiB | 5 Q