3v4l.org

run code in 300+ PHP versions simultaneously
<?php function __autoload($class_name) { var_dump('Trying to autload '. $class_name); } class BAR{ public static $atr = 'attr'; } //$attr = 'att'; $c = 'BAR'; echo $c::att;

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.0130.00718.55
8.3.50.0110.00721.87
8.3.40.0140.00318.73
8.3.30.0110.00418.97
8.3.20.0040.00420.25
8.3.10.0040.00421.91
8.3.00.0030.00622.27
8.2.180.0110.00716.50
8.2.170.0150.00018.78
8.2.160.0100.00322.96
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0050.00226.16
8.2.120.0040.00417.50
8.2.110.0070.00421.99
8.2.100.0000.01217.78
8.2.90.0030.00619.09
8.2.80.0050.00317.97
8.2.70.0070.00417.50
8.2.60.0000.00817.68
8.2.50.0070.00318.07
8.2.40.0000.00818.03
8.2.30.0070.00017.80
8.2.20.0050.00317.46
8.2.10.0040.00419.43
8.2.00.0030.00517.48
8.1.280.0070.01025.92
8.1.270.0040.00422.02
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00323.97
8.1.230.0040.00819.00
8.1.220.0070.00517.74
8.1.210.0030.00518.77
8.1.200.0040.00417.00
8.1.190.0050.00317.14
8.1.180.0040.00418.10
8.1.170.0050.00318.58
8.1.160.0060.00322.05
8.1.150.0080.00018.61
8.1.140.0000.00717.35
8.1.130.0050.00217.79
8.1.120.0030.00317.31
8.1.110.0070.00017.21
8.1.100.0040.00317.27
8.1.90.0040.00417.18
8.1.80.0000.00717.23
8.1.70.0000.00617.26
8.1.60.0040.00417.46
8.1.50.0040.00417.30
8.1.40.0050.00517.37
8.1.30.0050.00317.43
8.1.20.0040.00417.48
8.1.10.0040.00417.25
8.1.00.0080.00017.20
8.0.300.0000.00818.77
8.0.290.0040.00417.03
8.0.280.0030.00318.31
8.0.270.0020.00516.99
8.0.260.0000.00616.73
8.0.250.0000.00816.81
8.0.240.0040.00416.91
8.0.230.0030.00316.76
8.0.220.0000.00716.82
8.0.210.0030.00316.73
8.0.200.0030.00316.92
8.0.190.0040.00416.90
8.0.180.0090.00016.71
8.0.170.0000.00816.84
8.0.160.0030.00416.68
8.0.150.0030.00316.72
8.0.140.0080.00016.82
8.0.130.0000.00613.22
8.0.120.0000.00716.81
8.0.110.0000.00716.69
8.0.100.0080.00016.76
8.0.90.0050.00316.85
8.0.80.0100.00716.77
8.0.70.0070.00016.68
8.0.60.0000.00716.86
8.0.50.0040.00416.80
8.0.30.0120.01016.87
8.0.20.0100.00817.40
8.0.10.0030.00516.82
8.0.00.0060.01216.59
7.4.330.0050.00015.00
7.4.320.0060.00016.59
7.4.300.0030.00316.40
7.4.290.0060.00016.50
7.4.280.0000.01116.59
7.4.270.0000.00716.58
7.4.260.0000.00616.47
7.4.250.0040.00416.38
7.4.240.0000.00716.52
7.4.230.0030.00316.68
7.4.220.0080.01016.54
7.4.210.0090.00616.50
7.4.200.0030.00316.70
7.4.190.0040.00416.39
7.4.160.0030.01316.41
7.4.150.0070.01117.40
7.4.140.0100.00917.86
7.4.130.0100.01016.51
7.4.120.0080.00916.53
7.4.110.0150.00616.47
7.4.100.0090.00916.57
7.4.90.0080.00816.42
7.4.80.0090.01319.39
7.4.70.0080.00916.52
7.4.60.0090.00616.56
7.4.50.0080.00016.60
7.4.40.0060.00622.77
7.4.30.0090.00916.73
7.4.00.0090.00614.73
7.3.330.0040.00413.28
7.3.320.0000.00513.36
7.3.310.0000.00716.39
7.3.300.0030.00316.23
7.3.290.0160.00316.40
7.3.280.0060.01016.33
7.3.270.0090.01217.40
7.3.260.0060.01216.58
7.3.250.0190.00216.36
7.3.240.0160.00316.38
7.3.230.0000.01716.55
7.3.210.0130.00516.29
7.3.200.0100.00919.39
7.3.190.0090.00916.50
7.3.180.0120.00316.38
7.3.170.0060.00916.46
7.3.160.0090.00816.23
7.3.120.0030.01014.80
7.3.10.0030.00716.93
7.3.00.0030.00716.74
7.2.330.0110.00616.32
7.2.320.0030.01516.62
7.2.310.0000.01716.45
7.2.300.0030.01316.33
7.2.290.0000.01616.39
7.2.130.0060.01016.71
7.2.120.0060.00616.57
7.2.110.0050.00916.71
7.2.100.0040.00716.87
7.2.90.0060.00916.97
7.2.80.0040.00716.64
7.2.70.0040.00416.71
7.2.60.0050.01016.90
7.2.50.0030.00916.84
7.2.40.0060.00616.76
7.2.30.0040.00816.87
7.2.20.0070.01016.61
7.2.10.0070.00716.80
7.2.00.0060.00518.13
7.1.250.0080.00615.77
7.1.200.0110.00415.79
7.1.100.0060.00617.66
7.1.70.0000.00716.79
7.1.60.0130.01019.82
7.1.50.0100.01416.73
7.1.00.0030.07722.51
7.0.200.0060.01016.64
7.0.140.0100.06722.00
7.0.100.0300.06319.95
7.0.90.0370.07319.91
7.0.80.0100.04019.97
7.0.70.0130.03719.95
7.0.60.0270.07719.91
7.0.50.0270.08720.34
7.0.40.0030.07720.03
7.0.30.0100.07320.10
7.0.20.0070.05320.09
7.0.10.0200.05320.08
7.0.00.0070.07320.07
5.6.280.0030.07321.10
5.6.250.0030.08720.57
5.6.240.0170.07320.64
5.6.230.0030.04320.50
5.6.220.0030.04020.71
5.6.210.0130.07320.62
5.6.200.0000.09021.14
5.6.190.0030.06721.18
5.6.180.0070.07721.18
5.6.170.0130.05721.11
5.6.160.0030.08320.95
5.6.150.0070.08021.12
5.6.140.0100.07321.02
5.6.130.0100.08321.08
5.6.120.0170.07721.14
5.6.110.0030.05321.02
5.6.100.0070.06720.93
5.6.90.0070.04721.17
5.6.80.0030.04020.56
5.6.70.0070.08020.45
5.6.60.0130.05720.46
5.6.50.0100.03320.36
5.6.40.0100.06320.36
5.6.30.0030.06720.54
5.6.20.0200.06020.44
5.6.10.0130.06020.42
5.6.00.0070.07020.45
5.5.380.0170.05720.52
5.5.370.0030.05020.36
5.5.360.0100.07320.39
5.5.350.0130.08320.37
5.5.340.0100.06020.73
5.5.330.0170.07320.64
5.5.320.0030.05720.92
5.5.310.0130.07720.78
5.5.300.0070.08720.81
5.5.290.0070.05720.84
5.5.280.0130.06320.78
5.5.270.0000.05320.64
5.5.260.0000.08720.92
5.5.250.0130.07020.69
5.5.240.0000.07320.19
5.5.230.0100.06720.30
5.5.220.0130.06320.30
5.5.210.0100.06320.21
5.5.200.0030.05020.13
5.5.190.0000.05320.07
5.5.180.0100.07720.09
5.5.160.0170.06020.12
5.5.150.0100.03720.28
5.5.140.0200.06720.18
5.5.130.0070.05720.14
5.5.120.0170.06020.13
5.5.110.0100.06320.21
5.5.100.0000.05720.17
5.5.90.0070.07019.98
5.5.80.0070.05020.18
5.5.70.0030.08020.09
5.5.60.0200.06320.16
5.5.50.0170.05019.94
5.5.40.0100.08020.07
5.5.30.0100.07720.14
5.5.20.0030.05020.14
5.5.10.0130.07019.97
5.5.00.0070.07720.03
5.4.450.0100.07019.46
5.4.440.0130.04019.46
5.4.430.0170.07019.35
5.4.420.0030.07319.48
5.4.410.0030.08319.27
5.4.400.0100.06719.14
5.4.390.0070.07019.17
5.4.380.0070.07019.11
5.4.370.0070.06319.23
5.4.360.0030.08019.03
5.4.350.0030.07319.14
5.4.340.0070.07319.23
5.4.320.0100.07319.05
5.4.310.0070.03719.03
5.4.300.0100.07019.09
5.4.290.0000.07718.96
5.4.280.0130.07019.21
5.4.270.0130.06318.85
5.4.260.0170.07018.85
5.4.250.0130.07019.00
5.4.240.0100.08019.13
5.4.230.0070.07719.13
5.4.220.0070.07319.05
5.4.210.0130.06019.13
5.4.200.0100.06719.09
5.4.190.0070.04319.03
5.4.180.0000.08319.08
5.4.170.0000.07019.13
5.4.160.0170.06019.12
5.4.150.0200.04319.14
5.4.140.0070.07016.25
5.4.130.0170.06716.43
5.4.120.0100.06716.41
5.4.110.0030.06716.59
5.4.100.0030.04316.42
5.4.90.0100.06316.52
5.4.80.0030.06716.44
5.4.70.0100.07016.38
5.4.60.0000.07016.50
5.4.50.0070.06316.32
5.4.40.0000.07716.54
5.4.30.0070.06316.47
5.4.20.0100.07316.32
5.4.10.0030.07016.31
5.4.00.0000.07015.77
5.3.290.0100.07314.73
5.3.280.0070.06714.58
5.3.270.0170.06314.73
5.3.260.0100.06314.64
5.3.250.0100.04314.58
5.3.240.0130.07014.71
5.3.230.0070.04314.53
5.3.220.0030.08314.63
5.3.210.0100.04314.50
5.3.200.0000.07714.50
5.3.190.0100.07314.68
5.3.180.0000.04714.66
5.3.170.0100.06714.65
5.3.160.0000.07714.57
5.3.150.0100.04014.56
5.3.140.0070.07314.66
5.3.130.0070.07314.58
5.3.120.0070.07314.53
5.3.110.0000.08314.57
5.3.100.0070.04313.96
5.3.90.0100.07014.00
5.3.80.0070.07014.14
5.3.70.0070.07714.06
5.3.60.0070.07014.03
5.3.50.0070.04314.05
5.3.40.0130.06014.00
5.3.30.0100.07313.93
5.3.20.0130.06013.57
5.3.10.0030.06713.57
5.3.00.0230.06013.65
5.2.170.0000.05711.27
5.2.160.0130.04711.20
5.2.150.0000.04011.03
5.2.140.0000.06711.07
5.2.130.0070.03011.05
5.2.120.0070.05311.01
5.2.110.0100.05711.15
5.2.100.0000.06011.03
5.2.90.0000.04311.09
5.2.80.0030.06711.18
5.2.70.0170.04711.15
5.2.60.0130.05711.17
5.2.50.0000.06311.04
5.2.40.0030.03310.86
5.2.30.0030.06311.00
5.2.20.0030.05711.03
5.2.10.0070.02710.73
5.2.00.0000.06010.78
5.1.60.0000.03010.11
5.1.50.0070.04010.03
5.1.40.0070.03710.08
5.1.30.0030.05310.28
5.1.20.0030.05310.27
5.1.10.0000.02710.16
5.1.00.0130.04310.05
5.0.50.0030.0438.54
5.0.40.0030.0278.47
5.0.30.0030.0578.23
5.0.20.0070.0338.04
5.0.10.0000.0378.25
5.0.00.0070.0278.27
4.4.90.0030.0338.01
4.4.80.0000.0378.01
4.4.70.0000.0378.01
4.4.60.0000.0178.01
4.4.50.0030.0278.01
4.4.40.0000.0278.01
4.4.30.0070.0308.01
4.4.20.0030.0138.01
4.4.10.0000.0378.01
4.4.00.0030.0508.01
4.3.110.0000.0178.01
4.3.100.0100.0308.01
4.3.90.0000.0378.01
4.3.80.0100.0478.01
4.3.70.0030.0208.01
4.3.60.0030.0338.01
4.3.50.0000.0408.01
4.3.40.0100.0408.01
4.3.30.0030.0308.01
4.3.20.0000.0378.01
4.3.10.0000.0378.01
4.3.00.0030.0308.01

preferences:
49.08 ms | 401 KiB | 5 Q