3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cars=array(array("bmw",20,10,20),array("benz",30,10,0),array("gator",20,40,9),array("ferrari",15,60,18)); for ($row = 0; $row < 4; $row++) { for ($col = 0; $col < 4; $col++) { echo $cars[$row][$col]; } } echo "\n"; $d=mktime(10,50,25,08,12,2020); echo "you are in". date("y-m-d h:i:sa",$d);

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)
5.6.210.0070.07720.50
5.6.200.0030.06318.13
5.6.190.0000.04720.49
5.6.180.0270.05020.60
5.6.170.0400.07320.55
5.6.160.0030.04320.71
5.6.150.0070.07018.11
5.6.140.0030.08318.21
5.6.130.0100.08318.11
5.6.120.0000.04720.95
5.6.110.0100.04020.95
5.6.100.0030.09020.96
5.6.90.0070.09021.10
5.6.80.0070.05320.26
5.6.70.4170.04320.38
5.5.350.0100.09320.43
5.5.340.0100.06317.94
5.5.330.0030.09020.12
5.5.320.0400.07020.31
5.5.310.0270.03320.27
5.5.300.0070.04718.01
5.5.290.0030.08717.91
5.5.280.0000.04320.77
5.5.270.0030.08320.79
5.5.260.0030.05320.75
5.5.250.0100.08720.65
5.5.240.0000.07020.15
5.4.450.0500.04019.45
5.4.440.0330.04319.45
5.4.430.0270.04719.45
5.4.420.0400.04019.45
5.4.410.0330.03719.45
5.4.400.0270.04319.45
5.4.390.0300.03319.45
5.4.380.0500.05318.70
5.4.370.0200.05718.48
5.4.360.0270.06318.68
5.4.350.0230.06318.53
5.4.340.0230.07018.69
5.4.320.0030.03812.46
5.4.310.0060.03712.45
5.4.300.0060.03512.46
5.4.290.0060.03812.46
5.4.280.0080.03212.35
5.4.270.0010.04112.36
5.4.260.0020.04112.36
5.4.250.0050.03812.35
5.4.240.0060.04512.36
5.4.230.0110.04912.35
5.4.220.0040.04112.35
5.4.210.0120.03012.34
5.4.200.0080.04412.35
5.4.190.0060.05312.34
5.4.180.0110.04812.34
5.4.170.0070.05212.35
5.4.160.0080.04812.34
5.4.150.0100.04612.34
5.4.140.0060.05312.03
5.4.130.0100.04512.02
5.4.120.0120.05711.97
5.4.110.0100.03911.97
5.4.100.0050.03911.97
5.4.90.0010.04211.96
5.4.80.0090.03711.97
5.4.70.0070.03511.96
5.4.60.0050.03511.96
5.4.50.0020.03911.96
5.4.40.0040.03611.95
5.4.30.0050.03611.95
5.4.20.0080.03311.95
5.4.10.0040.03611.95
5.4.00.0080.03411.44
5.3.290.0050.04012.80
5.3.280.0050.03912.71
5.3.270.0090.04512.73
5.3.260.0100.03512.72
5.3.250.0070.04412.72
5.3.240.0050.04112.72
5.3.230.0060.03912.71
5.3.220.0090.04012.68
5.3.210.0070.03912.68
5.3.200.0090.03212.68
5.3.190.0060.03612.67
5.3.180.0050.03612.68
5.3.170.0060.04412.67
5.3.160.0070.03512.68
5.3.150.0060.03612.67
5.3.140.0100.03212.66
5.3.130.0080.03712.66
5.3.120.0050.03912.66
5.3.110.0070.03712.66
5.3.100.0070.03712.11
5.3.90.0080.03512.09
5.3.80.0090.04012.08
5.3.70.0090.04212.07
5.3.60.0040.04012.06
5.3.50.0050.03812.00
5.3.40.0050.04012.00
5.3.30.0040.03711.95
5.3.20.0070.03511.73
5.3.10.0050.03511.70
5.3.00.0060.03511.68
5.2.170.0040.0319.19
5.2.160.0040.0299.18
5.2.150.0040.0319.18
5.2.140.0050.0299.18
5.2.130.0040.0289.14
5.2.120.0040.0299.14
5.2.110.0030.0309.14
5.2.100.0050.0289.14
5.2.90.0040.0309.14
5.2.80.0060.0299.14
5.2.70.0050.0299.14
5.2.60.0050.0309.09
5.2.50.0060.0289.06
5.2.40.0060.0279.04
5.2.30.0030.0319.02
5.2.20.0050.0289.00
5.2.10.0060.0268.94
5.2.00.0050.0288.80
5.1.60.0040.0238.09
5.1.50.0050.0238.09
5.1.40.0060.0228.06
5.1.30.0040.0258.41
5.1.20.0060.0248.43
5.1.10.0040.0258.16
5.1.00.0040.0258.16
5.0.50.0030.0206.66
5.0.40.0040.0196.52
5.0.30.0030.0316.33
5.0.20.0050.0176.29
5.0.10.0030.0206.27
5.0.00.0030.0306.27
4.4.90.0030.0154.78
4.4.80.0020.0164.75
4.4.70.0030.0154.75
4.4.60.0060.0124.75
4.4.50.0040.0144.77
4.4.40.0050.0234.71
4.4.30.0000.0184.76
4.4.20.0050.0194.84
4.4.10.0030.0184.85
4.4.00.0030.0244.76
4.3.110.0010.0174.67
4.3.100.0040.0134.67
4.3.90.0040.0144.64
4.3.80.0040.0244.59
4.3.70.0030.0164.63
4.3.60.0030.0144.63
4.3.50.0030.0164.63
4.3.40.0030.0244.54
4.3.30.0060.0123.32
4.3.20.0020.0163.30
4.3.10.0010.0173.26
4.3.00.0070.01719.45

preferences:
143.06 ms | 1394 KiB | 7 Q