3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function __construct(){ $x = new __CLASS__(); } }

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.04012.03
5.4.320.0040.04012.51
5.4.310.0050.04912.51
5.4.300.0070.04012.52
5.4.290.0070.06312.52
5.4.280.0080.05412.41
5.4.270.0160.06212.41
5.4.260.0110.04512.41
5.4.250.0100.04512.41
5.4.240.0050.04612.41
5.4.230.0080.04112.40
5.4.220.0120.05312.40
5.4.210.0150.04512.40
5.4.200.0080.04612.40
5.4.190.0040.04112.40
5.4.180.0100.05212.40
5.4.170.0050.04112.40
5.4.160.0090.03612.40
5.4.150.0040.04612.39
5.4.140.0030.04512.09
5.4.130.0030.04312.07
5.4.120.0060.03812.04
5.4.110.0130.05412.03
5.4.100.0060.04212.03
5.4.90.0130.05512.03
5.4.80.0090.04912.03
5.4.70.0100.03812.02
5.4.60.0090.04212.02
5.4.50.0080.04912.02
5.4.40.0100.04712.02
5.4.30.0070.04012.02
5.4.20.0090.04612.01
5.4.10.0100.03412.01
5.4.00.0070.04311.50
5.3.290.0090.04512.80
5.3.280.0100.04212.71
5.3.270.0070.04112.73
5.3.260.0050.04112.72
5.3.250.0090.04212.72
5.3.240.0070.04812.72
5.3.230.0090.03512.71
5.3.220.0070.04012.68
5.3.210.0060.04212.68
5.3.200.0070.03612.68
5.3.190.0060.03812.68
5.3.180.0050.04612.67
5.3.170.0060.04112.67
5.3.160.0080.03612.67
5.3.150.0030.04112.67
5.3.140.0070.03512.66
5.3.130.0070.04312.66
5.3.120.0130.05112.66
5.3.110.0110.04512.66
5.3.100.0140.03312.13
5.3.90.0050.04412.11
5.3.80.0080.03812.10
5.3.70.0100.04112.10
5.3.60.0060.03612.08
5.3.50.0060.04112.02
5.3.40.0040.03912.02
5.3.30.0040.03711.98
5.3.20.0080.03311.76
5.3.10.0060.03711.73
5.3.00.0080.03511.72
5.2.170.0060.0309.22
5.2.160.0040.0319.22
5.2.150.0060.0329.22
5.2.140.0090.0439.21
5.2.130.0110.0389.18
5.2.120.0040.0339.18
5.2.110.0070.0289.18
5.2.100.0060.0399.18
5.2.90.0080.0389.18
5.2.80.0090.0379.18
5.2.70.0060.0419.17
5.2.60.0060.0289.13
5.2.50.0050.0309.10
5.2.40.0040.0319.07
5.2.30.0060.0339.05
5.2.20.0060.0409.04
5.2.10.0040.0378.95
5.2.00.0040.0318.80
5.1.60.0060.0278.09
5.1.50.0040.0258.09
5.1.40.0040.0298.07
5.1.30.0060.0278.41
5.1.20.0040.0268.43
5.1.10.0030.0288.17
5.1.00.0050.0368.17
5.0.50.0050.0236.64
5.0.40.0050.0266.50
5.0.30.0050.0346.31
5.0.20.0050.0196.28
5.0.10.0010.0236.26
5.0.00.0040.0436.25
4.4.90.0040.0154.78
4.4.80.0010.0184.76
4.4.70.0040.0154.76
4.4.60.0040.0164.75
4.4.50.0010.0184.77
4.4.40.0020.0274.71
4.4.30.0020.0184.76
4.4.20.0030.0174.84
4.4.10.0010.0194.84
4.4.00.0040.0254.76
4.3.110.0050.0184.67
4.3.100.0010.0194.66
4.3.90.0020.0224.64
4.3.80.0020.0334.58
4.3.70.0020.0164.63
4.3.60.0020.0174.63
4.3.50.0020.0184.63
4.3.40.0030.0264.54
4.3.30.0040.0163.30
4.3.20.0010.0223.28
4.3.10.0040.0173.23
4.3.00.0130.0206.93

preferences:
156.09 ms | 1386 KiB | 7 Q