3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Point {} $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.0170.06021.04
5.6.210.0000.08320.62
5.6.200.0070.05718.13
5.6.190.0070.05020.77
5.6.180.0230.04720.33
5.6.170.0400.05720.47
5.6.160.0030.04320.47
5.6.150.0000.04318.19
5.6.140.0170.07318.12
5.6.130.0030.06318.15
5.6.120.0200.07320.99
5.6.110.0070.08721.11
5.6.100.0030.05721.00
5.6.90.0030.06021.08
5.6.80.0030.03720.52
5.5.350.0270.07320.32
5.5.340.0100.07017.96
5.5.330.0030.04320.25
5.5.320.0230.05020.29
5.5.310.0430.07720.26
5.5.300.0070.07718.04
5.5.290.0100.04317.98
5.5.280.0130.07320.77
5.5.270.0100.08020.87
5.5.260.0070.08020.86
5.5.250.0070.09720.68
5.5.240.0030.08020.25
5.4.450.0500.06019.55
5.4.440.0200.05319.55
5.4.430.0100.05719.45
5.4.420.0130.05319.31
5.4.410.0170.05019.08
5.4.400.0400.05018.89
5.4.390.0530.06018.61
5.4.380.0300.04018.75
5.4.370.0030.04718.80
5.4.360.0100.03718.69
5.4.350.0160.04012.02
5.4.340.0100.04312.01
5.4.320.0100.03912.50
5.4.310.0040.04212.50
5.4.300.0040.03812.50
5.4.290.0070.03712.50
5.4.280.0040.03712.39
5.4.270.0040.03812.39
5.4.260.0080.05212.39
5.4.250.0050.03812.39
5.4.240.0070.03512.39
5.4.230.0080.04312.38
5.4.220.0040.03612.38
5.4.210.0030.03812.39
5.4.200.0060.03912.38
5.4.190.0070.03512.38
5.4.180.0060.03612.38
5.4.170.0060.03612.39
5.4.160.0040.03812.39
5.4.150.0040.04212.39
5.4.140.0050.03712.07
5.4.130.0050.03912.05
5.4.120.0030.04012.01
5.4.110.0050.03512.01
5.4.100.0060.03512.01
5.4.90.0050.03812.01
5.4.80.0050.03812.01
5.4.70.0070.03312.00
5.4.60.0080.03112.01
5.4.50.0090.03212.01
5.4.40.0040.03612.00
5.4.30.0070.03511.99
5.4.20.0040.03711.99
5.4.10.0060.03511.99
5.4.00.0090.03211.48
5.3.290.0060.03912.80
5.3.280.0060.03712.71
5.3.270.0050.04112.72
5.3.260.0050.04012.72
5.3.250.0050.03712.72
5.3.240.0060.03612.72
5.3.230.0050.03812.71
5.3.220.0060.03612.68
5.3.210.0050.03912.68
5.3.200.0020.03812.68
5.3.190.0110.03812.67
5.3.180.0080.04312.67
5.3.170.0070.03712.66
5.3.160.0070.03412.68
5.3.150.0080.03412.67
5.3.140.0040.03712.66
5.3.130.0040.04012.66
5.3.120.0070.03612.66
5.3.110.0070.03712.66
5.3.100.0060.03612.12
5.3.90.0060.03512.09
5.3.80.0070.03812.08
5.3.70.0070.03412.09
5.3.60.0080.03412.07
5.3.50.0050.03712.02
5.3.40.0070.03512.02
5.3.30.0060.03411.97
5.3.20.0040.03711.75
5.3.10.0090.03111.72
5.3.00.0060.03911.71
5.2.170.0050.0309.21
5.2.160.0010.0329.21
5.2.150.0030.0329.21
5.2.140.0060.0329.21
5.2.130.0100.0289.17
5.2.120.0030.0309.17
5.2.110.0040.0299.18
5.2.100.0060.0269.17
5.2.90.0070.0279.17
5.2.80.0060.0299.17
5.2.70.0050.0299.17
5.2.60.0030.0319.12
5.2.50.0070.0279.09
5.2.40.0050.0299.06
5.2.30.0070.0289.04
5.2.20.0020.0309.04
5.2.10.0020.0308.93
5.2.00.0040.0298.80
5.1.60.0040.0248.08
5.1.50.0020.0278.07
5.1.40.0050.0238.06
5.1.30.0030.0278.41
5.1.20.0000.0318.43
5.1.10.0040.0268.16
5.1.00.0030.0278.16
5.0.50.0060.0186.63
5.0.40.0030.0196.49
5.0.30.0030.0316.30
5.0.20.0010.0216.27
5.0.10.0040.0186.25
5.0.00.0020.0326.24
4.4.90.0020.0164.78
4.4.80.0030.0154.76
4.4.70.0010.0174.76
4.4.60.0010.0184.75
4.4.50.0050.0144.77
4.4.40.0030.0344.71
4.4.30.0040.0174.75
4.4.20.0040.0154.85
4.4.10.0040.0274.85
4.4.00.0020.0254.76
4.3.110.0030.0154.67
4.3.100.0030.0164.66
4.3.90.0030.0144.63
4.3.80.0070.0194.58
4.3.70.0020.0144.63
4.3.60.0020.0154.63
4.3.50.0030.0154.62
4.3.40.0010.0254.54
4.3.30.0010.0173.29
4.3.20.0000.0183.27
4.3.10.0020.0163.23
4.3.00.0030.0307.13

preferences:
142.17 ms | 1394 KiB | 7 Q