3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = 'test'; class Foo { public $bar = null; public static $blee = 'blee'; private $baz = null; } $foo = new Foo; echo Foo::$blee,"\n"; unset($foo->bar); var_dump($foo,$_GLOBALS); //unset(Foo::$blee);

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)
8.3.60.0070.00718.43
8.3.50.0170.00521.99
8.3.40.0000.01618.82
8.3.30.0050.00918.79
8.3.20.0040.00420.16
8.3.10.0080.00020.36
8.3.00.0080.00019.13
8.2.180.0160.00316.63
8.2.170.0100.00722.96
8.2.160.0090.00420.34
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0080.00022.16
8.2.110.0060.00321.92
8.2.100.0090.00317.78
8.2.90.0050.00319.17
8.2.80.0040.00417.97
8.2.70.0050.00317.49
8.2.60.0000.00817.93
8.2.50.0040.00418.07
8.2.40.0000.00818.22
8.2.30.0030.00619.43
8.2.20.0050.00217.73
8.2.10.0030.00518.05
8.2.00.0000.00917.76
8.1.280.0040.01125.92
8.1.270.0040.00422.14
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0090.00023.91
8.1.230.0040.00719.01
8.1.220.0000.00817.77
8.1.210.0040.00418.77
8.1.200.0060.00617.35
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0000.00818.65
8.1.160.0050.00321.86
8.1.150.0040.00418.79
8.1.140.0080.00017.32
8.1.130.0050.00317.76
8.1.120.0040.00417.37
8.1.110.0000.00717.44
8.1.100.0070.00017.39
8.1.90.0000.00717.39
8.1.80.0040.00317.34
8.1.70.0040.00417.35
8.1.60.0000.00817.52
8.1.50.0050.00317.50
8.1.40.0040.00417.44
8.1.30.0040.00417.58
8.1.20.0040.00417.48
8.1.10.0060.00317.44
8.1.00.0000.00717.39
8.0.300.0080.00018.81
8.0.290.0070.00016.63
8.0.280.0030.00318.39
8.0.270.0070.00017.25
8.0.260.0060.00017.25
8.0.250.0030.00317.00
8.0.240.0030.00516.90
8.0.230.0050.00216.86
8.0.220.0080.00016.89
8.0.210.0070.00016.87
8.0.200.0030.00316.89
8.0.190.0000.00716.95
8.0.180.0020.00516.87
8.0.170.0000.00716.82
8.0.160.0030.00516.90
8.0.150.0000.00716.86
8.0.140.0040.00416.86
8.0.130.0030.00313.30
8.0.120.0060.00316.73
8.0.110.0000.00716.88
8.0.100.0040.00416.95
8.0.90.0070.00016.78
8.0.80.0110.01116.84
8.0.70.0050.00316.75
8.0.60.0040.00416.75
8.0.50.0080.00016.79
8.0.30.0110.00916.92
8.0.20.0190.00317.40
8.0.10.0030.00517.11
8.0.00.0080.01116.69
7.4.330.0020.00215.00
7.4.320.0060.00016.36
7.4.300.0030.00316.38
7.4.290.0000.00716.42
7.4.280.0040.00416.48
7.4.270.0030.00316.52
7.4.260.0030.00316.54
7.4.250.0040.00416.39
7.4.240.0030.00416.40
7.4.230.0070.00016.44
7.4.220.0070.01016.52
7.4.210.0040.00916.56
7.4.200.0030.00316.34
7.4.160.0130.00816.66
7.4.150.0150.01117.40
7.4.140.0060.01317.86
7.4.130.0060.00916.46
7.4.120.0080.01016.52
7.4.110.0060.01216.36
7.4.100.0130.00716.43
7.4.90.0090.00916.55
7.4.80.0110.01119.39
7.4.70.0050.01316.61
7.4.60.0120.00616.41
7.4.50.0000.00816.32
7.4.40.0080.00816.38
7.4.30.0150.00416.62
7.4.00.0050.01214.91
7.3.330.0050.00213.14
7.3.320.0050.00013.20
7.3.310.0050.00216.41
7.3.300.0000.00716.37
7.3.290.0070.01116.47
7.3.280.0070.01116.37
7.3.270.0090.00917.40
7.3.260.0150.00316.28
7.3.250.0060.01116.22
7.3.240.0110.00716.32
7.3.230.0170.00016.39
7.3.210.0120.00616.29
7.3.200.0110.01119.39
7.3.190.0100.01316.39
7.3.180.0060.01016.34
7.3.170.0080.00816.52
7.3.160.0080.01416.38
7.3.120.0100.00714.78
7.3.110.0120.00814.53
7.3.100.0060.00614.82
7.3.90.0030.01014.80
7.3.80.0130.00314.84
7.3.70.0040.00714.56
7.3.60.0000.00914.87
7.3.50.0070.00414.85
7.3.40.0100.00014.71
7.3.30.0070.00414.74
7.3.20.0090.00316.63
7.3.10.0050.00816.65
7.3.00.0060.01016.69
7.2.330.0180.00016.37
7.2.320.0030.01416.70
7.2.310.0100.00716.32
7.2.300.0100.00816.72
7.2.290.0130.00316.51
7.2.250.0100.01015.06
7.2.240.0030.01315.11
7.2.230.0090.00614.77
7.2.220.0030.00714.87
7.2.210.0060.00914.81
7.2.200.0060.00914.97
7.2.190.0050.00515.07
7.2.180.0030.01014.98
7.2.170.0030.00614.89
7.2.130.0040.00816.87
7.2.120.0080.00816.89
7.2.110.0070.00716.80
7.2.100.0030.00816.89
7.2.90.0060.00916.59
7.2.80.0000.01716.81
7.2.70.0060.00917.02
7.2.60.0000.01516.92
7.2.50.0080.00816.98
7.2.40.0070.00717.05
7.2.30.0040.01116.89
7.2.20.0040.01116.97
7.2.10.0070.00716.67
7.2.00.0030.01016.86
7.1.330.0040.01115.89
7.1.320.0040.00815.80
7.1.310.0070.00715.68
7.1.300.0120.00315.53
7.1.290.0040.01215.62
7.1.280.0040.00715.71
7.1.270.0030.01415.49
7.1.260.0030.01015.58
7.1.250.0000.01115.74
7.1.100.0030.00618.00
7.1.70.0000.00817.19
7.1.60.0160.00619.12
7.1.50.0040.01816.58
7.1.00.0100.07022.36
7.0.200.0050.00216.84
7.0.140.0070.07022.11
7.0.60.0100.08019.93
7.0.50.0070.06317.88
7.0.40.0170.04320.18
7.0.30.0570.05020.21
7.0.20.0200.05720.36
7.0.10.0030.07320.07
7.0.00.0030.04320.05
5.6.280.0000.07721.10
5.6.210.0100.07020.47
5.6.200.0030.08018.27
5.6.190.0030.09320.52
5.6.180.0370.07020.47
5.6.170.0400.06720.61
5.6.160.0030.06720.47
5.6.150.0130.06718.21
5.6.140.0000.04018.24
5.6.130.0070.08018.28
5.6.120.0100.06021.01
5.6.110.0000.04720.96
5.6.100.0130.07021.11
5.6.90.0030.06720.95
5.6.80.0170.07020.37
5.6.70.4670.03720.53
5.5.350.0300.07320.30
5.5.340.0000.05718.00
5.5.330.0030.08720.35
5.5.320.0330.07020.31
5.5.310.0200.04320.34
5.5.300.0100.08018.06
5.5.290.0000.04318.08
5.5.280.0070.04020.65
5.5.270.0130.08020.87
5.5.260.0070.08020.61
5.5.250.0030.08020.70
5.5.240.0430.06020.15
5.4.450.0570.04719.45
5.4.440.0630.04319.49
5.4.430.0300.04319.45
5.4.420.0230.04019.47
5.4.410.0330.05019.45
5.4.400.0430.04019.45
5.4.390.0170.04319.45
5.4.380.0570.06318.73
5.4.370.0330.05718.63
5.4.360.0330.06718.74
5.4.350.0330.05018.70
5.4.340.0170.06018.75
5.4.320.0070.03612.50
5.4.310.0120.03712.49
5.4.300.0090.03612.50
5.4.290.0090.04412.50
5.4.280.0060.03412.39
5.4.270.0060.04512.39
5.4.260.0060.04312.39
5.4.250.0070.03712.39
5.4.240.0050.03612.39
5.4.230.0080.03612.38
5.4.220.0070.03512.38
5.4.210.0050.04412.39
5.4.200.0040.03912.38
5.4.190.0030.03912.38
5.4.180.0080.04112.38
5.4.170.0090.04012.39
5.4.160.0020.04412.39
5.4.150.0060.03812.39
5.4.140.0050.04412.07
5.4.130.0070.03512.05
5.4.120.0080.03212.02
5.4.110.0020.03912.01
5.4.100.0040.04712.01
5.4.90.0060.03812.00
5.4.80.0080.03412.01
5.4.70.0060.03412.00
5.4.60.0040.03712.01
5.4.50.0040.03712.01
5.4.40.0030.04111.99
5.4.30.0040.04111.99
5.4.20.0080.04411.99
5.4.10.0090.04111.99
5.4.00.0060.03511.48
5.3.290.0090.05412.80
5.3.280.0060.04612.71
5.3.270.0100.03412.73
5.3.260.0130.04712.72
5.3.250.0050.03812.72
5.3.240.0030.05012.72
5.3.230.0070.03612.71
5.3.220.0050.03712.68
5.3.210.0090.03912.68
5.3.200.0040.03812.68
5.3.190.0070.03912.68
5.3.180.0050.03812.67
5.3.170.0090.03612.67
5.3.160.0060.03812.67
5.3.150.0050.03712.68
5.3.140.0090.04512.66
5.3.130.0070.03612.66
5.3.120.0100.04212.66
5.3.110.0070.04412.66
5.3.100.0030.04012.12
5.3.90.0060.04112.09
5.3.80.0090.04012.08
5.3.70.0070.03812.09
5.3.60.0060.04712.07
5.3.50.0090.03812.02
5.3.40.0020.04012.02
5.3.30.0090.03211.98
5.3.20.0060.05011.75
5.3.10.0040.03611.72
5.3.00.0080.04011.71
5.2.170.0010.0349.21
5.2.160.0050.0309.21
5.2.150.0050.0309.21
5.2.140.0020.0339.21
5.2.130.0090.0299.17
5.2.120.0050.0279.17
5.2.110.0070.0369.18
5.2.100.0060.0379.17
5.2.90.0050.0309.17
5.2.80.0040.0319.17
5.2.70.0060.0399.17
5.2.60.0060.0309.12
5.2.50.0050.0309.09
5.2.40.0070.0269.07
5.2.30.0070.0449.04
5.2.20.0040.0299.03
5.2.10.0070.0328.93
5.2.00.0050.0358.80
5.1.60.0060.0228.08
5.1.50.0090.0208.08
5.1.40.0080.0228.06
5.1.30.0060.0258.40
5.1.20.0040.0338.43
5.1.10.0060.0288.16
5.1.00.0070.0228.16
5.0.50.0040.0206.64
5.0.40.0030.0206.49
5.0.30.0020.0336.31
5.0.20.0060.0186.27
5.0.10.0020.0216.25
5.0.00.0050.0396.24
4.4.90.0060.0304.77
4.4.80.0030.0154.75
4.4.70.0030.0204.75
4.4.60.0020.0194.75
4.4.50.0050.0234.77
4.4.40.0030.0254.71
4.4.30.0040.0144.76
4.4.20.0050.0284.84
4.4.10.0050.0234.85
4.4.00.0050.0304.76
4.3.110.0060.0154.67
4.3.100.0040.0144.67
4.3.90.0030.0154.64
4.3.80.0020.0264.58
4.3.70.0050.0134.63
4.3.60.0030.0144.63
4.3.50.0020.0174.63
4.3.40.0030.0244.54
4.3.30.0000.0183.30
4.3.20.0040.0143.28
4.3.10.0020.0173.23
4.3.00.0100.01319.45

preferences:
66.84 ms | 401 KiB | 5 Q