3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function __construct(){ echo static; } } new A();

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.0060.04312.03
5.4.320.0090.03812.51
5.4.310.0080.04112.52
5.4.300.0080.04312.52
5.4.290.0080.04312.51
5.4.280.0100.03612.41
5.4.270.0060.04512.41
5.4.260.0070.04512.41
5.4.250.0070.07012.41
5.4.240.0070.05512.41
5.4.230.0100.09512.40
5.4.220.0130.04912.40
5.4.210.0130.08712.40
5.4.200.0100.06112.40
5.4.190.0110.07912.40
5.4.180.0110.07412.40
5.4.170.0110.08412.41
5.4.160.0140.07412.40
5.4.150.0160.11512.39
5.4.140.0070.05412.09
5.4.130.0110.05012.07
5.4.120.0060.04212.04
5.4.110.0030.05012.03
5.4.100.0080.03612.04
5.4.90.0180.07512.03
5.4.80.0080.04712.03
5.4.70.0090.03812.03
5.4.60.0040.04312.03
5.4.50.0080.03712.03
5.4.40.0080.03512.01
5.4.30.0070.04512.02
5.4.20.0050.03712.01
5.4.10.0070.03912.01
5.4.00.0120.04311.50
5.3.290.0100.05112.80
5.3.280.0080.04912.71
5.3.270.0060.05012.72
5.3.260.0080.04112.71
5.3.250.0100.03712.72
5.3.240.0030.04312.72
5.3.230.0100.04112.71
5.3.220.0080.04012.68
5.3.210.0080.03912.68
5.3.200.0070.05112.68
5.3.190.0090.04612.68
5.3.180.0060.05012.67
5.3.170.0060.04512.67
5.3.160.0090.04112.68
5.3.150.0200.09712.68
5.3.140.0100.04312.66
5.3.130.0090.04912.66
5.3.120.0090.05212.66
5.3.110.0110.04112.66
5.3.100.0090.04812.13
5.3.90.0170.06912.11
5.3.80.0130.08112.10
5.3.70.0110.04412.09
5.3.60.0170.07012.08
5.3.50.0100.05212.03
5.3.40.0100.05812.03
5.3.30.0070.05211.98
5.3.20.0080.04411.76
5.3.10.0080.03911.73
5.3.00.0140.05111.72
5.2.170.0080.0449.22
5.2.160.0080.0369.21
5.2.150.0090.0349.21
5.2.140.0030.0389.21
5.2.130.0050.0339.17
5.2.120.0080.0329.18
5.2.110.0030.0349.18
5.2.100.0050.0369.18
5.2.90.0050.0359.18
5.2.80.0040.0349.18
5.2.70.0060.0409.18
5.2.60.0080.0329.13
5.2.50.0060.0329.10
5.2.40.0080.0409.08
5.2.30.0100.0379.05
5.2.20.0040.0429.04
5.2.10.0090.0388.95
5.2.00.0090.0378.80
5.1.60.0120.0438.09
5.1.50.0060.0278.09
5.1.40.0070.0288.07
5.1.30.0090.0268.42
5.1.20.0060.0378.44
5.1.10.0050.0278.17
5.1.00.0070.0358.17
5.0.50.0070.0286.64
5.0.40.0050.0186.50
5.0.30.0050.0306.31
5.0.20.0030.0236.28
5.0.10.0040.0246.25
5.0.00.0070.0386.25
4.4.90.0030.0214.78
4.4.80.0040.0484.75
4.4.70.0050.0184.76
4.4.60.0040.0174.76
4.4.50.0030.0194.77
4.4.40.0060.0294.71
4.4.30.0080.0184.76
4.4.20.0010.0214.84
4.4.10.0050.0224.85
4.4.00.0030.0334.76
4.3.110.0010.0234.67
4.3.100.0040.0234.66
4.3.90.0040.0204.63
4.3.80.0070.0274.58
4.3.70.0050.0194.63
4.3.60.0040.0204.63
4.3.50.0060.0274.63
4.3.40.0060.0444.54
4.3.30.0030.0193.30
4.3.20.0030.0163.28
4.3.10.0010.0223.23
4.3.00.0070.0306.96

preferences:
137.49 ms | 1394 KiB | 7 Q