3v4l.org

run code in 300+ PHP versions simultaneously
<?php class null { public static $foo = 'bar'; } function baz(null $var) { }

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.6.280.0030.07320.89
5.6.210.0070.03720.61
5.6.200.0070.04018.20
5.6.190.0130.04720.42
5.6.180.3500.04320.55
5.6.170.0270.07320.47
5.6.160.0100.04020.56
5.6.150.0030.07718.14
5.6.140.0030.06018.28
5.6.130.0100.07718.14
5.6.120.0130.08020.99
5.6.110.0070.07721.05
5.6.100.0170.08021.12
5.6.90.0170.07321.05
5.6.80.0000.04020.43
5.6.70.4630.04020.34
5.5.350.0070.07320.32
5.5.340.0070.06318.05
5.5.330.0070.04020.38
5.5.320.0200.05720.36
5.5.310.0330.06720.30
5.5.300.0070.08318.01
5.5.290.0000.07317.96
5.5.280.0030.06020.73
5.5.270.0170.06020.94
5.5.260.0100.08320.80
5.5.250.0030.07320.69
5.5.240.0070.07720.04
5.4.450.0270.03719.28
5.4.440.0370.05019.64
5.4.430.0100.04319.34
5.4.420.0130.04019.30
5.4.410.0430.04319.29
5.4.400.0170.04019.19
5.4.390.0230.04719.20
5.4.380.0430.05018.72
5.4.370.0530.05318.71
5.4.360.0500.06018.47
5.4.350.0530.05718.47
5.4.340.0400.06018.78
5.4.320.0110.03612.51
5.4.310.0100.04212.50
5.4.300.0050.03612.51
5.4.290.0050.03912.50
5.4.280.0070.03512.40
5.4.270.0050.04212.39
5.4.260.0070.04412.40
5.4.250.0090.04112.40
5.4.240.0070.03712.40
5.4.230.0070.04212.39
5.4.220.0100.04412.39
5.4.210.0050.03812.39
5.4.200.0110.03812.39
5.4.190.0070.04412.39
5.4.180.0040.05812.39
5.4.170.0060.03712.39
5.4.160.0070.03812.39
5.4.150.0070.03912.38
5.4.140.0070.03712.07
5.4.130.0040.04212.06
5.4.120.0070.03212.02
5.4.110.0070.04112.01
5.4.100.0070.03812.01
5.4.90.0070.03612.01
5.4.80.0080.04312.01
5.4.70.0050.04312.00
5.4.60.0060.03912.01
5.4.50.0060.04512.01
5.4.40.0050.04412.00
5.4.30.0080.04111.99
5.4.20.0080.03311.99
5.4.10.0100.03511.99
5.4.00.0050.04411.48
5.3.290.0050.04912.80
5.3.280.0030.04212.71
5.3.270.0090.04012.72
5.3.260.0040.04212.72
5.3.250.0070.03912.72
5.3.240.0100.03812.72
5.3.230.0060.03812.71
5.3.220.0070.04512.68
5.3.210.0080.03612.68
5.3.200.0010.04112.68
5.3.190.0050.04412.68
5.3.180.0050.04512.67
5.3.170.0090.03512.67
5.3.160.0070.04212.68
5.3.150.0080.04012.68
5.3.140.0040.04212.66
5.3.130.0100.03512.65
5.3.120.0040.03912.66
5.3.110.0060.04512.66
5.3.100.0090.03912.12
5.3.90.0070.04012.09
5.3.80.0040.04212.09
5.3.70.0070.03412.09
5.3.60.0060.04112.07
5.3.50.0050.04712.02
5.3.40.0080.04212.02
5.3.30.0050.03711.98
5.3.20.0010.04511.75
5.3.10.0060.03811.73
5.3.00.0090.04811.71
5.2.170.0090.0349.21
5.2.160.0050.0289.21
5.2.150.0070.0359.22
5.2.140.0070.0319.21
5.2.130.0080.0289.18
5.2.120.0070.0289.18
5.2.110.0040.0359.18
5.2.100.0050.0309.17
5.2.90.0070.0269.17
5.2.80.0060.0309.17
5.2.70.0060.0319.16
5.2.60.0040.0319.12
5.2.50.0080.0309.09
5.2.40.0070.0289.07
5.2.30.0080.0279.04
5.2.20.0050.0289.03
5.2.10.0020.0318.94
5.2.00.0070.0338.79
5.1.60.0030.0308.09
5.1.50.0060.0248.07
5.1.40.0050.0318.07
5.1.30.0020.0318.41
5.1.20.0100.0228.44
5.1.10.0080.0338.16
5.1.00.0070.0298.15
5.0.50.0050.0266.64
5.0.40.0030.0196.50
5.0.30.0070.0356.31
5.0.20.0070.0286.27
5.0.10.0040.0286.25
5.0.00.0040.0326.25
4.4.90.0030.0164.78
4.4.80.0040.0164.76
4.4.70.0060.0134.75
4.4.60.0020.0184.76
4.4.50.0040.0154.77
4.4.40.0030.0274.71
4.4.30.0020.0174.76
4.4.20.0040.0154.84
4.4.10.0050.0194.85
4.4.00.0020.0294.76
4.3.110.0040.0154.66
4.3.100.0040.0204.66
4.3.90.0040.0134.64
4.3.80.0030.0254.59
4.3.70.0050.0174.63
4.3.60.0050.0194.63
4.3.50.0040.0214.62
4.3.40.0030.0244.54
4.3.30.0020.0193.30
4.3.20.0020.0223.28
4.3.10.0000.0263.23
4.3.00.0070.01018.41

preferences:
142.21 ms | 1394 KiB | 7 Q