3v4l.org

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

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.0090.03512.51
5.4.300.0060.04312.51
5.4.290.0060.03812.51
5.4.280.0050.03712.40
5.4.270.0080.03712.40
5.4.260.0080.05012.40
5.4.250.0090.04512.40
5.4.240.0090.05212.40
5.4.230.0090.05312.39
5.4.220.0120.04812.39
5.4.210.0070.03612.39
5.4.200.0070.04412.39
5.4.190.0050.04612.39
5.4.180.0090.03412.39
5.4.170.0100.03612.40
5.4.160.0050.03712.39
5.4.150.0080.03712.39
5.4.140.0050.03812.08
5.4.130.0060.03512.06
5.4.120.0080.03312.03
5.4.110.0050.04512.02
5.4.100.0090.04112.02
5.4.90.0060.05112.02
5.4.80.0070.04012.02
5.4.70.0090.04112.02
5.4.60.0070.04612.02
5.4.50.0080.03412.02
5.4.40.0090.03412.01
5.4.30.0140.04712.00
5.4.20.0090.03812.00
5.4.10.0080.04812.00
5.4.00.0050.03911.49
5.3.290.0060.04212.80
5.3.280.0060.04812.71
5.3.270.0080.03712.73
5.3.260.0040.05012.72
5.3.250.0070.03912.72
5.3.240.0080.03512.72
5.3.230.0070.03712.71
5.3.220.0060.03612.68
5.3.210.0060.04112.68
5.3.200.0060.04712.68
5.3.190.0110.04712.67
5.3.180.0060.04212.67
5.3.170.0100.04012.67
5.3.160.0080.04012.67
5.3.150.0110.04212.68
5.3.140.0080.04512.66
5.3.130.0070.05112.66
5.3.120.0090.03812.66
5.3.110.0100.03612.66
5.3.100.0060.03712.12
5.3.90.0040.03812.10
5.3.80.0110.04512.09
5.3.70.0090.03512.09
5.3.60.0090.03512.08
5.3.50.0050.03812.02
5.3.40.0060.03612.02
5.3.30.0110.04311.98
5.3.20.0190.05511.76
5.3.10.0080.04711.73
5.3.00.0100.05511.71
5.2.170.0090.0399.21
5.2.160.0060.0529.21
5.2.150.0080.0389.21
5.2.140.0040.0439.21
5.2.130.0090.0369.17
5.2.120.0080.0359.17
5.2.110.0030.0379.18
5.2.100.0070.0279.18
5.2.90.0070.0279.17
5.2.80.0060.0359.17
5.2.70.0110.0389.17
5.2.60.0090.0559.12
5.2.50.0060.0399.10
5.2.40.0070.0289.07
5.2.30.0050.0329.04
5.2.20.0040.0309.04
5.2.10.0030.0308.94
5.2.00.0060.0318.80
5.1.60.0120.0268.09
5.1.50.0060.0348.09
5.1.40.0060.0348.06
5.1.30.0030.0338.41
5.1.20.0040.0308.43
5.1.10.0050.0258.16
5.1.00.0030.0288.16
5.0.50.0070.0356.64
5.0.40.0080.0216.50
5.0.30.0030.0406.30
5.0.20.0030.0286.28
5.0.10.0090.0236.25
5.0.00.0040.0406.25
4.4.90.0030.0224.78
4.4.80.0020.0164.75
4.4.70.0020.0184.75
4.4.60.0040.0144.75
4.4.50.0020.0174.77
4.4.40.0050.0264.71
4.4.30.0040.0184.76
4.4.20.0030.0214.84
4.4.10.0070.0174.84
4.4.00.0040.0304.76
4.3.110.0060.0234.66
4.3.100.0040.0174.66
4.3.90.0090.0284.64
4.3.80.0030.0264.58
4.3.70.0060.0194.63
4.3.60.0050.0194.63
4.3.50.0050.0214.63
4.3.40.0050.0264.54
4.3.30.0050.0173.30
4.3.20.0020.0203.28
4.3.10.0020.0173.23
4.3.00.0100.01015.94

preferences:
138.89 ms | 1394 KiB | 7 Q