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::$attr;

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.0140.00718.07
8.3.50.0090.01022.03
8.3.40.0070.01018.59
8.3.30.0070.00719.02
8.3.20.0070.00020.21
8.3.10.0040.00422.09
8.3.00.0040.00422.47
8.2.180.0100.01018.16
8.2.170.0040.01122.96
8.2.160.0070.00720.70
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0030.00526.16
8.2.120.0080.00017.50
8.2.110.0000.00922.18
8.2.100.0110.00019.32
8.2.90.0040.00418.86
8.2.80.0040.00419.53
8.2.70.0040.00417.48
8.2.60.0060.00617.90
8.2.50.0050.00318.07
8.2.40.0050.00318.17
8.2.30.0020.00517.93
8.2.20.0000.00717.38
8.2.10.0080.00019.40
8.2.00.0040.00417.45
8.1.280.0160.00725.92
8.1.270.0120.00321.92
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0090.00023.84
8.1.230.0070.00319.02
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00717.11
8.1.190.0000.00817.38
8.1.180.0050.00318.10
8.1.170.0040.00418.65
8.1.160.0100.00021.98
8.1.150.0040.00418.49
8.1.140.0040.00417.23
8.1.130.0080.00017.59
8.1.120.0030.00317.38
8.1.110.0050.00317.20
8.1.100.0030.00317.20
8.1.90.0050.00317.27
8.1.80.0000.00817.34
8.1.70.0030.00317.22
8.1.60.0030.00517.45
8.1.50.0040.00417.27
8.1.40.0030.00617.39
8.1.30.0060.00317.45
8.1.20.0040.00417.45
8.1.10.0040.00417.28
8.1.00.0080.00017.35
8.0.300.0060.00318.77
8.0.290.0070.00017.05
8.0.280.0040.00418.30
8.0.270.0040.00417.02
8.0.260.0000.00616.75
8.0.250.0030.00516.89
8.0.240.0030.00616.77
8.0.230.0030.00316.88
8.0.220.0030.00316.83
8.0.210.0030.00316.86
8.0.200.0060.00016.83
8.0.190.0000.00716.86
8.0.180.0030.00616.84
8.0.170.0070.00016.84
8.0.160.0040.00316.75
8.0.150.0070.00016.66
8.0.140.0000.00816.73
8.0.130.0050.00013.28
8.0.120.0060.00316.66
8.0.110.0000.00716.71
8.0.100.0030.00516.70
8.0.90.0000.00716.82
8.0.80.0090.00616.81
8.0.70.0040.00416.69
8.0.60.0040.00416.72
8.0.50.0030.00316.67
8.0.30.0150.00316.99
8.0.20.0080.01117.40
8.0.10.0030.00616.97
8.0.00.0120.00616.62
7.4.330.0000.00515.00
7.4.320.0000.00716.39
7.4.300.0060.00016.49
7.4.290.0070.00016.48
7.4.280.0030.00616.43
7.4.270.0030.00516.55
7.4.260.0070.00016.57
7.4.250.0000.00716.55
7.4.240.0000.00816.57
7.4.230.0030.00316.29
7.4.220.0070.01016.53
7.4.210.0070.00816.58
7.4.200.0040.00416.59
7.4.190.0000.00716.66
7.4.160.0130.00316.51
7.4.150.0090.00917.40
7.4.140.0110.00717.86
7.4.130.0140.00716.61
7.4.120.0090.00816.44
7.4.110.0130.00616.56
7.4.100.0190.00316.36
7.4.90.0150.00316.40
7.4.80.0170.00719.39
7.4.70.0040.01416.70
7.4.60.0030.01316.37
7.4.50.0030.00616.34
7.4.40.0060.01022.77
7.4.30.0030.01316.45
7.4.00.0070.01114.79
7.3.330.0030.00513.36
7.3.320.0000.00513.38
7.3.310.0000.00716.17
7.3.300.0000.00716.39
7.3.290.0130.00716.38
7.3.280.0050.01116.35
7.3.270.0090.01117.40
7.3.260.0110.00816.41
7.3.250.0090.00716.39
7.3.240.0030.01316.63
7.3.230.0120.00616.39
7.3.210.0090.00916.43
7.3.200.0070.01419.39
7.3.190.0030.01416.32
7.3.180.0130.00316.43
7.3.170.0170.00416.60
7.3.160.0150.00616.28
7.3.120.0140.00314.80
7.3.10.0070.00716.71
7.3.00.0040.01116.58
7.2.330.0180.00616.47
7.2.320.0110.00716.59
7.2.310.0130.01016.66
7.2.300.0130.00716.51
7.2.290.0090.00616.70
7.2.130.0030.01016.86
7.2.120.0000.01316.93
7.2.110.0060.00616.60
7.2.100.0060.00316.84
7.2.90.0080.00616.64
7.2.80.0040.01116.77
7.2.70.0060.00616.84
7.2.60.0090.00416.79
7.2.50.0040.01116.75
7.2.40.0060.00616.90
7.2.30.0090.00616.99
7.2.20.0000.01216.79
7.2.10.0130.00016.87
7.2.00.0090.00918.15
7.1.250.0000.01215.38
7.1.200.0060.00615.58
7.1.100.0000.01318.18
7.1.70.0040.00417.09
7.1.60.0000.01919.82
7.1.50.0090.01216.98
7.1.00.0000.08022.36
7.0.200.0080.00416.82
7.0.140.0100.06721.93
7.0.60.0070.05319.90
7.0.50.0070.07317.85
7.0.40.0100.06020.05
7.0.30.0300.06720.20
7.0.20.0230.04720.22
7.0.10.0230.08720.30
7.0.00.0070.07720.09
5.6.280.0000.07721.14
5.6.210.0000.05020.72
5.6.200.0070.07718.16
5.6.190.0000.07320.68
5.6.180.3300.04720.33
5.6.170.0370.06320.71
5.6.160.0170.08020.50
5.6.150.0070.05318.19
5.6.140.0000.06318.17
5.6.130.0000.06718.16
5.6.120.0030.08021.02
5.6.110.0070.04321.18
5.6.100.0130.05020.97
5.6.90.0000.09321.11
5.6.80.0100.06320.29
5.6.70.0200.04020.40
5.5.350.0030.07720.43
5.5.340.0030.05318.03
5.5.330.0130.08020.47
5.5.320.0230.06720.20
5.5.310.0270.04720.34
5.5.300.0100.05317.93
5.5.290.0070.08018.08
5.5.280.0030.08720.87
5.5.270.0000.04720.76
5.5.260.0130.07720.76
5.5.250.0130.06720.69
5.5.240.0000.04320.18
5.4.450.0170.08719.32
5.4.440.0300.05319.60
5.4.430.0130.05719.52
5.4.420.0130.05319.21
5.4.410.0170.05019.27
5.4.400.0130.04718.83
5.4.390.0070.05318.77
5.4.380.0270.04718.75
5.4.370.0130.05318.59
5.4.360.0070.06018.74
5.4.350.0200.05018.80
5.4.340.0170.05018.50
5.4.320.0130.03312.50
5.4.310.0080.04212.50
5.4.300.0030.04112.50
5.4.290.0100.04812.50
5.4.280.0100.04012.40
5.4.270.0170.06319.14
5.4.260.0070.05318.86
5.4.250.0170.05718.94
5.4.240.0130.06018.99
5.4.230.0130.07718.91
5.4.220.0100.06018.85
5.4.210.0130.06019.02
5.4.200.0100.07719.04
5.4.190.0170.04318.98
5.4.180.0070.08018.90
5.4.170.0070.06018.92
5.4.160.0200.05019.21
5.4.150.0170.07319.12
5.4.140.0170.06016.67
5.4.130.0200.06016.75
5.4.120.0130.06016.46
5.4.110.0170.06316.69
5.4.100.0070.06716.58
5.4.90.0070.06016.46
5.4.80.0100.06716.52
5.4.70.0070.05716.73
5.4.60.0030.06016.41
5.4.50.0130.04716.59
5.4.40.0230.03716.60
5.4.30.0100.06316.64
5.4.20.0100.06716.39
5.4.10.0130.05316.34
5.4.00.0130.04315.98
5.3.290.0090.03712.80
5.3.280.0030.06014.89
5.3.270.0070.05014.65
5.3.260.0230.06014.79
5.3.250.0130.07014.88
5.3.240.0130.06014.88
5.3.230.0130.06014.86
5.3.220.0130.07014.75
5.3.210.0030.06714.44
5.3.200.0170.05314.83
5.3.190.0170.05314.79
5.3.180.0070.05314.61
5.3.170.0170.05714.61
5.3.160.0170.05714.61
5.3.150.0170.05714.84
5.3.140.0100.05714.86
5.3.130.0030.06314.72
5.3.120.0030.07014.82
5.3.110.0200.05714.80
5.3.100.0030.07314.33
5.3.90.0030.07713.87
5.3.80.0130.05014.31
5.3.70.0100.07314.20
5.3.60.0170.05014.05
5.3.50.0200.05314.23
5.3.40.0030.06314.13
5.3.30.0170.06014.11
5.3.20.0100.04713.88
5.3.10.0070.04713.82
5.3.00.0070.06713.76
5.2.170.0070.04711.41
5.2.160.0070.05011.44
5.2.150.0030.06011.14
5.2.140.0070.04011.44
5.2.130.0070.03711.15
5.2.120.0070.04011.38
5.2.110.0070.05311.31
5.2.100.0130.04711.40
5.2.90.0070.04711.09
5.2.80.0000.04710.97
5.2.70.0030.05311.37
5.2.60.0130.05011.25
5.2.50.0070.06011.30
5.2.40.0100.04711.05
5.2.30.0100.03311.08
5.2.20.0200.03011.01
5.2.10.0130.03311.12
5.2.00.0030.04710.94
5.1.60.0000.03710.20
5.1.50.0100.04010.20
5.1.40.0030.04710.18
5.1.30.0070.03310.53
5.1.20.0070.03710.35
5.1.10.0100.04310.04
5.1.00.0030.03710.12
5.0.50.0070.0378.77
5.0.40.0030.0278.69
5.0.30.0070.0438.11
5.0.20.0030.0308.45
5.0.10.0000.0308.35
5.0.00.0000.0438.18
4.4.90.0030.0207.46
4.4.80.0000.0237.46
4.4.70.0070.0177.46
4.4.60.0070.0177.46
4.4.50.0030.0277.46
4.4.40.0000.0407.46
4.4.30.0070.0207.46
4.4.20.0000.0337.46
4.4.10.0000.0237.46
4.4.00.0000.0377.46
4.3.110.0000.0277.46
4.3.100.0030.0207.46
4.3.90.0000.0337.46
4.3.80.0000.0377.46
4.3.70.0070.0207.46
4.3.60.0030.0237.46
4.3.50.0000.0337.46
4.3.40.0000.0337.46
4.3.30.0000.0307.46
4.3.20.0030.0207.46
4.3.10.0170.0237.46
4.3.00.0000.0236.88

preferences:
43.91 ms | 401 KiB | 5 Q