3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public static $a; public $b; public function c() { return true; } public function d() { return true; } public function __construct() { } } $a = new A; var_dump($a::$a);

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.0170.00316.50
8.3.50.0120.00521.99
8.3.40.0100.00718.62
8.3.30.0030.01018.92
8.3.20.0070.00720.23
8.3.10.0040.00423.64
8.3.00.0060.00319.13
8.2.180.0100.00718.41
8.2.170.0080.00622.96
8.2.160.0140.00720.39
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0040.00422.26
8.2.110.0040.00422.27
8.2.100.0040.00717.84
8.2.90.0000.00819.22
8.2.80.0050.00317.97
8.2.70.0090.00017.63
8.2.60.0080.00017.80
8.2.50.0040.00418.07
8.2.40.0040.00418.16
8.2.30.0000.00718.00
8.2.20.0040.00417.68
8.2.10.0030.00517.88
8.2.00.0080.00317.61
8.1.280.0080.00625.92
8.1.270.0050.00523.83
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.91
8.1.230.0120.00019.16
8.1.220.0050.00217.74
8.1.210.0030.00518.77
8.1.200.0030.00617.23
8.1.190.0000.00817.54
8.1.180.0050.00318.10
8.1.170.0060.00318.59
8.1.160.0000.00721.95
8.1.150.0030.00618.57
8.1.140.0040.00417.40
8.1.130.0000.00717.81
8.1.120.0040.00417.48
8.1.110.0040.00417.43
8.1.100.0050.00317.29
8.1.90.0070.00017.39
8.1.80.0040.00417.39
8.1.70.0050.00217.33
8.1.60.0030.00617.63
8.1.50.0000.00717.46
8.1.40.0040.00417.42
8.1.30.0030.00517.66
8.1.20.0080.00017.58
8.1.10.0040.00417.53
8.1.00.0040.00417.49
8.0.300.0040.00418.77
8.0.290.0000.00717.05
8.0.280.0070.00018.43
8.0.270.0030.00317.08
8.0.260.0030.00317.11
8.0.250.0030.00316.84
8.0.240.0060.00316.90
8.0.230.0030.00516.78
8.0.220.0030.00316.80
8.0.210.0090.00016.70
8.0.200.0060.00016.80
8.0.190.0000.00716.78
8.0.180.0040.00416.84
8.0.170.0040.00416.82
8.0.160.0040.00416.96
8.0.150.0030.00316.68
8.0.140.0040.00416.68
8.0.130.0060.00013.24
8.0.120.0040.00416.80
8.0.110.0040.00416.83
8.0.100.0000.00716.82
8.0.90.0030.00516.61
8.0.80.0000.02016.81
8.0.70.0000.00716.85
8.0.60.0050.00216.64
8.0.50.0040.00416.79
8.0.30.0120.00516.96
8.0.20.0060.01317.40
8.0.10.0030.00616.96
8.0.00.0110.00816.84
7.4.330.0050.00015.00
7.4.320.0030.00316.58
7.4.300.0000.00716.46
7.4.290.0040.00316.51
7.4.280.0030.00316.51
7.4.270.0030.00316.50
7.4.260.0000.00716.58
7.4.250.0040.00416.42
7.4.240.0050.00216.56
7.4.230.0000.00716.70
7.4.220.0060.01116.62
7.4.210.0080.00816.60
7.4.200.0070.00016.70
7.4.190.0070.00016.76
7.4.160.0130.00316.37
7.4.150.0070.01017.40
7.4.140.0130.00517.86
7.4.130.0080.00916.44
7.4.120.0110.00616.60
7.4.110.0060.01016.25
7.4.100.0170.00416.32
7.4.90.0080.00816.56
7.4.80.0190.00619.39
7.4.70.0100.00616.38
7.4.60.0090.00616.48
7.4.50.0000.00816.12
7.4.40.0060.00922.77
7.4.30.0180.00516.41
7.4.00.0090.00314.86
7.3.330.0020.00213.22
7.3.320.0020.00213.17
7.3.310.0040.00416.36
7.3.300.0000.00716.35
7.3.290.0110.00816.32
7.3.280.0070.00916.36
7.3.270.0130.00317.40
7.3.260.0140.00316.39
7.3.250.0120.00616.56
7.3.240.0100.01016.25
7.3.230.0030.01316.39
7.3.210.0130.00316.61
7.3.200.0140.00416.39
7.3.190.0090.00816.36
7.3.180.0000.01416.23
7.3.170.0030.01216.64
7.3.160.0120.00616.43
7.3.120.0100.00714.52
7.2.330.0100.00716.70
7.2.320.0110.01016.47
7.2.310.0030.01316.69
7.2.300.0130.00316.61
7.2.290.0130.00316.67
7.2.00.0120.00818.85
7.1.200.0000.01415.87
7.1.100.0000.01118.18
7.1.70.0000.00716.81
7.1.60.0130.01019.33
7.1.50.0040.00816.89
7.1.00.0000.08022.44
7.0.200.0550.00414.88
7.0.140.0130.06321.95
7.0.60.0130.08319.93
7.0.50.0130.07017.84
7.0.40.0000.07020.11
7.0.30.0470.06320.09
7.0.20.0270.06720.09
7.0.10.0070.09020.26
7.0.00.0170.04720.11
5.6.280.0070.09021.03
5.6.210.0030.08320.48
5.6.200.0130.05018.16
5.6.190.0100.06020.60
5.6.180.0130.04320.33
5.6.170.0230.03720.61
5.6.160.0030.04320.71
5.6.150.0100.05318.18
5.6.140.0030.08018.11
5.6.130.0070.06718.22
5.6.120.0130.06721.05
5.6.110.0070.08720.89
5.6.100.0100.03720.98
5.6.90.0170.07321.07
5.6.80.0100.06320.39
5.6.70.4570.04020.38
5.5.350.0130.08020.44
5.5.340.0000.06717.95
5.5.330.0100.04720.29
5.5.320.0070.08020.32
5.5.310.0400.07020.25
5.5.300.0030.08318.07
5.5.290.0070.05318.07
5.5.280.0030.04320.88
5.5.270.0030.06320.84
5.5.260.0130.07720.75
5.5.250.0070.05720.62
5.5.240.0130.09320.12
5.4.450.0200.07319.20
5.4.440.0170.05019.58
5.4.430.0070.05719.16
5.4.420.0130.06719.45
5.4.410.0200.04319.48
5.4.400.0170.05019.16
5.4.390.0130.05319.25
5.4.380.0200.07718.47
5.4.370.0270.06318.73
5.4.360.0470.04718.79
5.4.350.0430.04718.77
5.4.340.0330.05718.74
5.4.320.0070.03512.50
5.4.310.0050.04312.50
5.4.300.0070.03712.50
5.4.290.0020.04412.50
5.4.280.0170.09612.36
5.4.270.0390.12012.37
5.4.260.0160.08412.37
5.4.250.0150.04812.37
5.4.240.0110.05512.37
5.4.230.0080.03812.36
5.4.220.0070.03712.36
5.4.210.0080.03512.36
5.4.200.0190.07212.36
5.4.190.0060.04812.36
5.4.180.0110.04712.36
5.4.170.0060.04112.36
5.4.160.0090.03812.36
5.4.150.0100.04012.36
5.4.140.0070.04312.04
5.4.130.0100.03612.04
5.4.120.0050.03911.99
5.4.110.0140.03111.98
5.4.100.0070.04111.98
5.4.90.0110.03911.98
5.4.80.0100.03911.98
5.4.70.0050.04311.98
5.4.60.0060.04811.98
5.4.50.0080.04511.98
5.4.40.0050.03911.97
5.4.30.0110.03511.96
5.4.20.0100.04911.96
5.4.10.0060.07111.97
5.4.00.0150.08411.45
5.3.290.0040.04412.80
5.3.280.0050.06312.71
5.3.270.0120.05312.72
5.3.260.0140.06012.72
5.3.250.0070.05712.72
5.3.240.0100.06112.71
5.3.230.0080.03912.71
5.3.220.0090.03912.68
5.3.210.0080.05612.68
5.3.200.0150.03512.68
5.3.190.0140.06112.68
5.3.180.0130.05812.68
5.3.170.0130.05312.67
5.3.160.0080.05312.68
5.3.150.0100.03912.67
5.3.140.0080.03812.66
5.3.130.0110.03712.66
5.3.120.0060.05812.65
5.3.110.0120.03812.65
5.3.100.0100.04912.12
5.3.90.0080.04912.08
5.3.80.0080.05112.07
5.3.70.0070.03912.07
5.3.60.0090.03612.06
5.3.50.0070.03712.01
5.3.40.0090.03512.01
5.3.30.0090.03711.95
5.3.20.0110.03211.74
5.3.10.0080.04911.70
5.3.00.0120.03411.70
5.2.170.0080.0409.19
5.2.160.0070.0309.19
5.2.150.0040.0339.19
5.2.140.0070.0419.19
5.2.130.0050.0329.15
5.2.120.0100.0259.15
5.2.110.0070.0289.16
5.2.100.0050.0319.15
5.2.90.0050.0309.14
5.2.80.0070.0399.15
5.2.70.0110.0299.14
5.2.60.0040.0329.10
5.2.50.0030.0399.07
5.2.40.0110.0309.05
5.2.30.0070.0419.02
5.2.20.0080.0389.01
5.2.10.0050.0398.92
5.2.00.0060.0318.79
5.1.60.0070.0308.06
5.1.50.0050.0288.07
5.1.40.0080.0228.05
5.1.30.0050.0278.39
5.1.20.0060.0278.43
5.1.10.0020.0298.14
5.1.00.0050.0318.15
5.0.50.0040.0226.62
5.0.40.0020.0216.48
5.0.30.0040.0316.30
5.0.20.0030.0216.26
5.0.10.0030.0216.24
5.0.00.0040.0316.23
4.4.90.0020.0264.78
4.4.80.0030.0234.75
4.4.70.0020.0184.75
4.4.60.0030.0224.75
4.4.50.0010.0244.77
4.4.40.0040.0314.71
4.4.30.0030.0224.76
4.4.20.0020.0254.84
4.4.10.0040.0254.85
4.4.00.0030.0414.76
4.3.110.0030.0234.67
4.3.100.0030.0204.66
4.3.90.0040.0154.63
4.3.80.0070.0274.58
4.3.70.0070.0184.63
4.3.60.0040.0224.63
4.3.50.0060.0224.63
4.3.40.0050.0354.54
4.3.30.0050.0223.29
4.3.20.0070.0193.27
4.3.10.0010.0223.23
4.3.00.0000.0308.94

preferences:
58.21 ms | 401 KiB | 5 Q