3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { static $x = 'foo'; static $y = (self::$x).'bar'; };

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.310.0110.07312.51
5.4.300.0120.04512.51
5.4.290.0070.05212.50
5.4.280.0150.04312.40
5.4.270.0130.05212.40
5.4.260.0120.06912.40
5.4.250.0080.05612.40
5.4.240.0100.04912.40
5.4.230.0110.05412.39
5.4.220.0100.05012.39
5.4.210.0060.05112.39
5.4.200.0070.05012.39
5.4.190.0080.05012.39
5.4.180.0050.04012.39
5.4.170.0090.06212.39
5.4.160.0050.04312.39
5.4.150.0040.03912.39
5.4.140.0100.03512.08
5.4.130.0100.04412.06
5.4.120.0070.04212.03
5.4.110.0100.03912.02
5.4.100.0050.03712.02
5.4.90.0060.03812.02
5.4.80.0080.04312.02
5.4.70.0100.04712.02
5.4.60.0100.04712.02
5.4.50.0130.04012.02
5.4.40.0090.03512.01
5.4.30.0100.04012.00
5.4.20.0050.05112.00
5.4.10.0060.04312.00
5.4.00.0080.03411.50
5.3.290.0060.03912.80
5.3.280.0060.04312.71
5.3.270.0050.05112.73
5.3.260.0130.03612.71
5.3.250.0090.04912.72
5.3.240.0080.05112.72
5.3.230.0060.05212.71
5.3.220.0090.05012.68
5.3.210.0070.05212.68
5.3.200.0070.04212.68
5.3.190.0080.04112.68
5.3.180.0020.04112.67
5.3.170.0090.03512.67
5.3.160.0100.03512.67
5.3.150.0070.03612.67
5.3.140.0090.03512.66
5.3.130.0110.03812.66
5.3.120.0070.04712.65
5.3.110.0060.05612.66
5.3.100.0100.04712.11
5.3.90.0120.04912.10
5.3.80.0110.04812.09
5.3.70.0120.04612.09
5.3.60.0090.04112.08
5.3.50.0070.03812.02
5.3.40.0070.03512.02
5.3.30.0060.04611.98
5.3.20.0080.04911.76
5.3.10.0090.04911.73
5.3.00.0100.03911.71
5.2.170.0040.0349.21
5.2.160.0050.0309.21
5.2.150.0060.0379.21
5.2.140.0100.0339.21
5.2.130.0060.0349.17
5.2.120.0100.0339.17
5.2.110.0090.0349.18
5.2.100.0090.0409.17
5.2.90.0100.0409.17
5.2.80.0070.0409.17
5.2.70.0130.0409.17
5.2.60.0120.0359.13
5.2.50.0070.0309.09
5.2.40.0060.0389.07
5.2.30.0040.0489.04
5.2.20.0060.0399.04
5.2.10.0070.0458.94
5.2.00.0070.0458.80
5.1.60.0070.0358.09
5.1.50.0090.0338.08
5.1.40.0060.0398.07
5.1.30.0050.0428.41
5.1.20.0060.0398.43
5.1.10.0090.0358.16
5.1.00.0050.0398.16
5.0.50.0040.0316.64
5.0.40.0080.0336.50
5.0.30.0060.0446.31
5.0.20.0040.0296.28
5.0.10.0060.0296.25
5.0.00.0060.0396.25
4.4.90.0020.0234.78
4.4.80.0050.0214.75
4.4.70.0040.0234.75
4.4.60.0040.0224.75
4.4.50.0080.0204.77
4.4.40.0040.0344.71
4.4.30.0080.0174.76
4.4.20.0060.0234.84
4.4.10.0050.0314.85
4.4.00.0060.0304.76
4.3.110.0040.0214.67
4.3.100.0050.0194.67
4.3.90.0020.0234.64
4.3.80.0020.0344.58
4.3.70.0080.0174.63
4.3.60.0030.0214.63
4.3.50.0020.0234.63
4.3.40.0030.0324.54
4.3.30.0070.0183.30
4.3.20.0090.0173.28
4.3.10.0050.0193.23
4.3.00.0070.01315.94

preferences:
139.77 ms | 1394 KiB | 7 Q