3v4l.org

run code in 300+ PHP versions simultaneously
<?php class qq{ function qq() {echo 'constructor';} }; class ww extends qq { function ww() {echo 'ww_constructor';}; function __construct() {echo 'cc_constructor';}; }; $x = new ww();

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.4.340.0080.03412.03
5.4.320.0050.03912.52
5.4.310.0040.04312.51
5.4.300.0090.03512.52
5.4.290.0040.04012.51
5.4.280.0050.03912.41
5.4.270.0070.03912.41
5.4.260.0080.04712.41
5.4.250.0090.04012.41
5.4.240.0060.03812.41
5.4.230.0050.04212.40
5.4.220.0070.04312.40
5.4.210.0070.03412.40
5.4.200.0090.03612.40
5.4.190.0110.03512.40
5.4.180.0040.03912.39
5.4.170.0100.03212.41
5.4.160.0060.03612.40
5.4.150.0060.03612.40
5.4.140.0040.03912.09
5.4.130.0050.03612.07
5.4.120.0110.03112.04
5.4.110.0080.03312.03
5.4.100.0080.03412.03
5.4.90.0070.04012.03
5.4.80.0050.03812.03
5.4.70.0080.03412.03
5.4.60.0060.03512.02
5.4.50.0050.03612.03
5.4.40.0040.04212.02
5.4.30.0100.03212.01
5.4.20.0040.03812.00
5.4.10.0050.03612.01
5.4.00.0090.03411.50
5.3.290.0060.04112.80
5.3.280.0070.04212.71
5.3.270.0070.04412.72
5.3.260.0080.04012.72
5.3.250.0070.03712.72
5.3.240.0080.03512.72
5.3.230.0060.04812.71
5.3.220.0090.03712.68
5.3.210.0060.04212.68
5.3.200.0050.03812.68
5.3.190.0030.04212.67
5.3.180.0070.03612.67
5.3.170.0050.03812.67
5.3.160.0070.03612.67
5.3.150.0050.04112.67
5.3.140.0070.03612.66
5.3.130.0100.03912.66
5.3.120.0040.04012.66
5.3.110.0050.04012.66
5.3.100.0050.03812.13
5.3.90.0070.03612.11
5.3.80.0100.03412.10
5.3.70.0070.03512.10
5.3.60.0110.04412.09
5.3.50.0050.04212.03
5.3.40.0090.04212.03
5.3.30.0090.03911.98
5.3.20.0080.04211.77
5.3.10.0050.03911.74
5.3.00.0040.03911.72
5.2.170.0070.0299.22
5.2.160.0070.0279.23
5.2.150.0070.0289.23
5.2.140.0050.0319.22
5.2.130.0020.0359.18
5.2.120.0080.0319.18
5.2.110.0060.0309.19
5.2.100.0050.0299.18
5.2.90.0040.0319.18
5.2.80.0080.0319.18
5.2.70.0040.0339.18
5.2.60.0070.0319.13
5.2.50.0060.0359.11
5.2.40.0050.0379.08
5.2.30.0060.0299.05
5.2.20.0030.0329.04
5.2.10.0070.0268.95
5.2.00.0040.0308.81
5.1.60.0050.0258.10
5.1.50.0020.0278.09
5.1.40.0040.0318.07
5.1.30.0020.0298.42
5.1.20.0060.0258.44
5.1.10.0020.0288.16
5.1.00.0070.0238.16
5.0.50.0050.0206.64
5.0.40.0040.0256.51
5.0.30.0020.0366.32
5.0.20.0040.0226.29
5.0.10.0050.0206.27
5.0.00.0020.0326.26
4.4.90.0030.0154.78
4.4.80.0010.0164.75
4.4.70.0010.0174.75
4.4.60.0030.0204.75
4.4.50.0020.0164.77
4.4.40.0040.0284.71
4.4.30.0040.0164.76
4.4.20.0040.0144.85
4.4.10.0030.0194.85
4.4.00.0030.0264.76
4.3.110.0030.0164.67
4.3.100.0030.0174.67
4.3.90.0040.0174.64
4.3.80.0040.0264.58
4.3.70.0040.0134.63
4.3.60.0040.0134.63
4.3.50.0050.0194.62
4.3.40.0060.0284.54
4.3.30.0020.0213.31
4.3.20.0040.0193.29
4.3.10.0020.0213.24
4.3.00.0070.0238.52

preferences:
142.03 ms | 1394 KiB | 7 Q