3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function myThing() { echo "start"; __halt_compiler(); } public function __destruct() { echo "you should not see this"; } } $test = new Test(); $test->myThing();

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.03512.03
5.4.320.0070.04312.51
5.4.310.0050.04112.51
5.4.300.0050.04312.51
5.4.290.0070.03612.51
5.4.280.0050.03712.40
5.4.270.0040.03712.40
5.4.260.0100.03912.41
5.4.250.0060.05412.40
5.4.240.0080.05112.40
5.4.230.0080.05212.40
5.4.220.0120.03412.39
5.4.210.0080.04112.39
5.4.200.0090.05212.40
5.4.190.0090.04512.39
5.4.180.0050.03812.39
5.4.170.0070.03912.41
5.4.160.0090.03712.40
5.4.150.0080.04112.39
5.4.140.0090.05212.08
5.4.130.0080.04212.07
5.4.120.0070.03512.03
5.4.110.0080.03312.02
5.4.100.0030.04012.02
5.4.90.0060.04012.02
5.4.80.0070.04112.02
5.4.70.0110.03212.02
5.4.60.0080.04212.02
5.4.50.0060.03912.02
5.4.40.0060.03812.00
5.4.30.0110.03412.00
5.4.20.0110.03412.00
5.4.10.0060.03612.00
5.4.00.0090.04511.50
5.3.290.0090.04912.80
5.3.280.0100.04812.71
5.3.270.0070.05812.73
5.3.260.0140.04812.72
5.3.250.0110.05612.72
5.3.240.0090.05012.72
5.3.230.0050.04412.71
5.3.220.0040.04312.68
5.3.210.0100.05912.68
5.3.200.0080.04312.68
5.3.190.0090.05312.68
5.3.180.0060.04112.68
5.3.170.0080.03812.67
5.3.160.0140.03512.67
5.3.150.0100.03512.67
5.3.140.0110.04012.66
5.3.130.0090.04412.65
5.3.120.0090.04012.66
5.3.110.0070.04112.66
5.3.100.0090.03712.12
5.3.90.0080.04112.10
5.3.80.0080.03812.09
5.3.70.0120.04712.09
5.3.60.0130.04012.07
5.3.50.0120.04112.02
5.3.40.0100.03912.02
5.3.30.0050.03711.98
5.3.20.0090.03411.76
5.3.10.0050.03511.73
5.3.00.0060.03511.71
5.2.170.0020.0389.22
5.2.160.0020.0329.21
5.2.150.0070.0339.22
5.2.140.0070.0319.21
5.2.130.0080.0279.17
5.2.120.0080.0289.17
5.2.110.0090.0289.18
5.2.100.0070.0339.18
5.2.90.0060.0329.18
5.2.80.0060.0309.17
5.2.70.0040.0319.17
5.2.60.0020.0329.13
5.2.50.0060.0329.10
5.2.40.0050.0309.07
5.2.30.0070.0289.04
5.2.20.0050.0329.04
5.2.10.0040.0298.94
5.2.00.0080.0278.80
5.1.60.0040.0258.09
5.1.50.0020.0298.09
5.1.40.0080.0228.06
5.1.30.0040.0268.41
5.1.20.0050.0258.43
5.1.10.0100.0218.17
5.1.00.0040.0298.16
5.0.50.0050.0246.64
5.0.40.0030.0216.50
5.0.30.0030.0326.32
5.0.20.0060.0246.28
5.0.10.0050.0186.26
5.0.00.0020.0346.25
4.4.90.0030.0154.78
4.4.80.0030.0164.75
4.4.70.0040.0164.76
4.4.60.0030.0174.76
4.4.50.0010.0174.77
4.4.40.0050.0314.71
4.4.30.0050.0204.76
4.4.20.0040.0164.84
4.4.10.0080.0124.85
4.4.00.0040.0254.76
4.3.110.0010.0184.67
4.3.100.0030.0154.67
4.3.90.0030.0174.63
4.3.80.0000.0284.58
4.3.70.0060.0124.63
4.3.60.0040.0144.63
4.3.50.0030.0224.63
4.3.40.0060.0264.54
4.3.30.0030.0203.30
4.3.20.0040.0203.28
4.3.10.0020.0173.23
4.3.00.0130.0206.83

preferences:
143.15 ms | 1386 KiB | 7 Q