3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Point { public $c; function __construct() { $this->c = func_get_args(); } } $a = new Point(1, 3); debug_zval_dump($a); $b =& new Point(1, 3); debug_zval_dump($b);

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.280.0000.07720.99
5.6.210.0030.04320.66
5.6.200.0000.05318.16
5.6.190.0030.08020.47
5.6.180.5030.04320.48
5.6.170.0300.05020.54
5.6.160.0000.04320.44
5.6.150.0030.07018.20
5.6.140.0070.03718.27
5.6.130.0000.05318.27
5.6.120.0070.03721.20
5.6.110.0030.08320.98
5.6.100.0030.08321.12
5.6.90.0100.04020.97
5.6.80.0130.07320.54
5.6.70.3070.03020.37
5.5.350.0330.07320.41
5.5.340.0070.03718.05
5.5.330.0100.08720.28
5.5.320.0470.07320.36
5.5.310.0170.06020.35
5.5.300.0030.08318.07
5.5.290.0030.06317.94
5.5.280.0070.04320.74
5.5.270.0070.05720.96
5.5.260.0170.07720.88
5.5.250.0000.04320.71
5.5.240.0100.07720.27
5.4.450.0830.03719.44
5.4.440.0330.05719.30
5.4.430.0070.05719.36
5.4.420.0030.06319.68
5.4.410.0030.06019.41
5.4.400.0100.05319.10
5.4.390.0170.04719.07
5.4.380.0170.07318.62
5.4.370.0170.03318.81
5.4.360.0130.04718.70
5.4.350.0080.04712.02
5.4.340.0060.04712.02
5.4.320.0080.03412.50
5.4.310.0090.03512.50
5.4.300.0070.03612.51
5.4.290.0080.04612.50
5.4.280.0110.04512.40
5.4.270.0080.03612.40
5.4.260.0070.05212.40
5.4.250.0070.04212.39
5.4.240.0060.04212.39
5.4.230.0050.04012.39
5.4.220.0130.03012.39
5.4.210.0120.03012.39
5.4.200.0060.03912.39
5.4.190.0050.03812.38
5.4.180.0040.03912.39
5.4.170.0040.03812.40
5.4.160.0080.03412.39
5.4.150.0050.03712.39
5.4.140.0050.03812.07
5.4.130.0030.03812.06
5.4.120.0060.03612.02
5.4.110.0070.03412.01
5.4.100.0100.03712.01
5.4.90.0060.03812.02
5.4.80.0100.04012.01
5.4.70.0090.04712.01
5.4.60.0120.04412.02
5.4.50.0070.04212.01
5.4.40.0040.03712.00
5.4.30.0080.03412.00
5.4.20.0060.03611.99
5.4.10.0060.03712.00
5.4.00.0030.04011.48
5.3.290.0060.03812.80
5.3.280.0060.03912.71
5.3.270.0060.04012.73
5.3.260.0080.03812.72
5.3.250.0030.04312.72
5.3.240.0020.04112.72
5.3.230.0060.04012.71
5.3.220.0100.03512.68
5.3.210.0110.04912.68
5.3.200.0090.05012.68
5.3.190.0060.04312.67
5.3.180.0070.03612.67
5.3.170.0060.03612.67
5.3.160.0050.03812.67
5.3.150.0060.03712.67
5.3.140.0100.03612.66
5.3.130.0080.04312.66
5.3.120.0070.04712.65
5.3.110.0090.03812.66
5.3.100.0070.03812.12
5.3.90.0090.03312.09
5.3.80.0070.03512.09
5.3.70.0050.03912.09
5.3.60.0040.04012.07
5.3.50.0060.03812.02
5.3.40.0100.03412.02
5.3.30.0030.03711.98
5.3.20.0090.03811.76
5.3.10.0050.03511.73
5.3.00.0060.03511.71
5.2.170.0050.0319.22
5.2.160.0090.0379.22
5.2.150.0090.0309.22
5.2.140.0060.0299.22
5.2.130.0030.0319.18
5.2.120.0060.0279.18
5.2.110.0070.0299.18
5.2.100.0030.0389.18
5.2.90.0030.0299.18
5.2.80.0040.0319.18
5.2.70.0070.0299.17
5.2.60.0050.0319.12
5.2.50.0070.0289.09
5.2.40.0060.0289.07
5.2.30.0040.0309.05
5.2.20.0060.0299.04
5.2.10.0020.0318.95
5.2.00.0030.0318.80
5.1.60.0050.0238.09
5.1.50.0040.0268.08
5.1.40.0060.0238.07
5.1.30.0050.0268.41
5.1.20.0050.0268.45
5.1.10.0040.0268.16
5.1.00.0060.0248.16
5.0.50.0050.0206.64
5.0.40.0040.0196.49
5.0.30.0010.0346.31
5.0.20.0020.0216.27
5.0.10.0030.0216.25
5.0.00.0040.0376.25
4.4.90.0030.0154.78
4.4.80.0020.0184.76
4.4.70.0020.0164.75
4.4.60.0010.0174.75
4.4.50.0030.0164.77
4.4.40.0040.0284.71
4.4.30.0020.0164.76
4.4.20.0040.0154.84
4.4.10.0040.0204.85
4.4.00.0030.0314.76
4.3.110.0050.0134.67
4.3.100.0070.0114.67
4.3.90.0030.0174.63
4.3.80.0040.0254.58
4.3.70.0060.0124.63
4.3.60.0050.0164.63
4.3.50.0040.0144.63
4.3.40.0040.0264.53
4.3.30.0040.0143.30
4.3.20.0000.0183.28
4.3.10.0040.0163.23
4.3.00.0030.02715.25

preferences:
143.47 ms | 1394 KiB | 7 Q