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 = 'attr'; $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.0030.01018.30
8.3.50.0100.00821.92
8.3.40.0100.01018.52
8.3.30.0080.00518.87
8.3.20.0030.00620.04
8.3.10.0040.00421.95
8.3.00.0000.00822.21
8.2.180.0110.01116.63
8.2.170.0110.00422.96
8.2.160.0070.00719.09
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0120.00326.16
8.2.120.0000.00817.50
8.2.110.0090.00022.23
8.2.100.0060.00617.66
8.2.90.0040.00418.92
8.2.80.0040.00817.97
8.2.70.0030.00517.38
8.2.60.0040.00417.68
8.2.50.0060.00318.07
8.2.40.0040.00417.97
8.2.30.0000.00717.84
8.2.20.0060.00317.39
8.2.10.0000.00719.23
8.2.00.0050.00317.45
8.1.280.0080.00625.92
8.1.270.0020.00522.14
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00823.69
8.1.230.0030.01018.93
8.1.220.0040.00417.74
8.1.210.0000.00718.77
8.1.200.0060.00617.22
8.1.190.0040.00417.05
8.1.180.0040.00418.10
8.1.170.0000.00818.66
8.1.160.0060.00322.04
8.1.150.0040.00418.50
8.1.140.0040.00417.34
8.1.130.0080.00017.65
8.1.120.0040.00417.32
8.1.110.0050.00317.30
8.1.100.0050.00217.29
8.1.90.0000.00717.13
8.1.80.0000.00717.33
8.1.70.0000.00617.27
8.1.60.0080.00017.45
8.1.50.0040.00417.30
8.1.40.0060.00317.34
8.1.30.0040.00417.36
8.1.20.0000.00817.49
8.1.10.0030.00517.38
8.1.00.0000.00817.41
8.0.300.0070.00018.77
8.0.290.0080.00016.93
8.0.280.0000.00718.21
8.0.270.0040.00416.99
8.0.260.0060.00016.73
8.0.250.0040.00416.78
8.0.240.0030.00316.94
8.0.230.0000.00716.90
8.0.220.0060.00016.73
8.0.210.0000.00716.72
8.0.200.0060.00016.88
8.0.190.0040.00416.79
8.0.180.0060.00316.85
8.0.170.0030.00616.81
8.0.160.0040.00416.71
8.0.150.0070.00016.66
8.0.140.0000.00816.66
8.0.130.0060.00013.19
8.0.120.0030.00516.77
8.0.110.0030.00316.79
8.0.100.0080.00016.84
8.0.90.0070.00016.68
8.0.80.0160.00016.69
8.0.70.0040.00416.76
8.0.60.0000.00716.79
8.0.50.0030.00316.68
8.0.30.0090.00916.89
8.0.20.0090.01217.40
8.0.10.0000.00816.79
8.0.00.0060.01216.70
7.4.330.0000.00415.00
7.4.320.0000.00716.49
7.4.300.0000.00616.63
7.4.290.0030.00316.55
7.4.280.0100.00016.40
7.4.270.0030.00516.48
7.4.260.0050.00216.57
7.4.250.0040.00416.48
7.4.240.0060.00116.53
7.4.230.0000.00716.40
7.4.220.0030.01516.60
7.4.210.0060.00816.64
7.4.200.0000.00716.66
7.4.190.0070.00016.68
7.4.160.0090.00616.44
7.4.150.0110.01417.40
7.4.140.0120.00617.86
7.4.130.0130.00716.52
7.4.120.0110.00616.58
7.4.110.0060.00916.61
7.4.100.0140.00416.46
7.4.90.0150.00416.43
7.4.80.0060.01519.39
7.4.70.0120.00916.38
7.4.60.0070.01016.35
7.4.50.0000.00916.38
7.4.40.0100.00722.77
7.4.30.0030.01216.38
7.4.00.0040.01414.85
7.3.330.0000.00713.33
7.3.320.0030.00313.34
7.3.310.0070.00016.25
7.3.300.0060.00016.40
7.3.290.0040.01116.40
7.3.280.0070.00916.30
7.3.270.0030.01417.40
7.3.260.0030.01316.33
7.3.250.0120.00616.46
7.3.240.0090.01216.58
7.3.230.0060.01716.39
7.3.210.0060.01216.55
7.3.200.0100.01019.39
7.3.190.0100.00716.35
7.3.180.0030.01216.45
7.3.170.0130.00316.36
7.3.160.0090.01516.41
7.3.120.0150.00014.80
7.2.330.0180.00616.42
7.2.320.0140.01016.67
7.2.310.0100.00616.59
7.2.300.0030.01316.69
7.2.290.0130.00516.30
7.2.60.0030.01216.89
7.1.200.0070.00315.51
7.1.100.0030.01018.10
7.1.70.0040.00817.21
7.1.60.0080.00819.82
7.1.50.0070.01716.73
7.1.00.0030.07322.28
7.0.200.0030.01016.72
7.0.140.0030.07322.01
7.0.60.0070.07319.87
7.0.50.0000.04317.82
7.0.40.0000.05720.27
7.0.30.0270.03720.15
7.0.20.0330.07720.24
7.0.10.0070.08320.05
7.0.00.0100.05020.13
5.6.280.0070.07020.88
5.6.210.0100.08320.49
5.6.200.0100.08318.17
5.6.190.0070.03720.77
5.6.180.0230.05020.48
5.6.170.0200.05020.71
5.6.160.0030.09020.50
5.6.150.0070.05018.17
5.6.140.0100.07318.27
5.6.130.0130.08718.16
5.6.120.0070.05720.84
5.6.110.0070.05321.18
5.6.100.0130.06320.99
5.6.90.0070.08021.13
5.6.80.0070.04720.38
5.5.350.0270.07320.32
5.5.340.0070.08318.07
5.5.330.0070.03720.57
5.5.320.0400.03020.29
5.5.310.0200.05020.19
5.5.300.0100.06317.98
5.5.290.0170.07717.96
5.5.280.0070.09020.88
5.5.270.0170.07720.86
5.5.260.0070.08320.76
5.5.250.0030.05020.70
5.5.240.0130.06720.26
5.4.450.0200.04019.17
5.4.440.0930.04719.55
5.4.430.0670.03719.56
5.4.420.0600.03019.39
5.4.410.1330.05319.15
5.4.400.0600.04719.23
5.4.390.0970.03319.20
5.4.380.0300.06718.53
5.4.370.0370.05718.62
5.4.360.0430.05018.47
5.4.350.0330.06018.71
5.4.340.0430.05018.74
5.4.320.0090.03412.51
5.4.310.0050.03912.50
5.4.300.0130.04712.50
5.4.290.0050.03912.50
5.4.280.0090.03512.40
5.4.270.0200.06018.93
5.4.260.0100.06318.99
5.4.250.0130.07319.07
5.4.240.0130.07019.14
5.4.230.0100.07319.07
5.4.220.0130.07318.93
5.4.210.0170.07719.04
5.4.200.0130.07718.99
5.4.190.0070.08018.96
5.4.180.0000.06718.97
5.4.170.0070.07718.90
5.4.160.0030.06019.00
5.4.150.0030.07018.98
5.4.140.0130.07016.59
5.4.130.0100.05016.75
5.4.120.0170.06316.65
5.4.110.0130.06016.54
5.4.100.0130.06316.72
5.4.90.0130.05016.46
5.4.80.0070.07016.70
5.4.70.0100.04716.52
5.4.60.0000.08016.71
5.4.50.0030.05716.39
5.4.40.0030.07016.69
5.4.30.0200.05016.50
5.4.20.0200.04316.61
5.4.10.0070.08016.65
5.4.00.0200.04315.81
5.3.290.0030.05012.80
5.3.280.0130.07014.81
5.3.270.0130.06714.82
5.3.260.0130.06714.86
5.3.250.0030.08714.88
5.3.240.0070.07714.88
5.3.230.0170.05014.77
5.3.220.0100.05714.68
5.3.210.0170.07714.62
5.3.200.0100.05714.56
5.3.190.0130.06314.82
5.3.180.0000.08314.83
5.3.170.0200.07014.75
5.3.160.0170.06014.84
5.3.150.0070.07014.67
5.3.140.0100.05014.83
5.3.130.0130.06714.83
5.3.120.0170.07014.71
5.3.110.0030.06714.76
5.3.100.0130.04714.32
5.3.90.0100.06314.09
5.3.80.0170.06314.07
5.3.70.0170.05314.23
5.3.60.0100.04714.19
5.3.50.0170.05014.23
5.3.40.0030.07014.00
5.3.30.0170.04014.11
5.3.20.0030.06313.75
5.3.10.0030.06713.77
5.3.00.0130.06313.75
5.2.170.0070.05711.14
5.2.160.0070.04711.35
5.2.150.0030.04311.32
5.2.140.0100.04011.33
5.2.130.0030.06010.95
5.2.120.0070.05011.15
5.2.110.0070.04311.40
5.2.100.0030.06011.14
5.2.90.0070.06011.11
5.2.80.0130.04011.39
5.2.70.0070.05711.09
5.2.60.0100.03711.05
5.2.50.0030.05011.23
5.2.40.0000.05711.07
5.2.30.0070.06011.19
5.2.20.0030.04011.22
5.2.10.0000.04310.73
5.2.00.0030.04710.60
5.1.60.0030.0479.99
5.1.50.0030.03710.20
5.1.40.0030.04310.29
5.1.30.0070.03710.61
5.1.20.0000.04710.52
5.1.10.0030.04310.21
5.1.00.0070.05010.28
5.0.50.0070.0278.69
5.0.40.0070.0408.39
5.0.30.0070.0538.28
5.0.20.0030.0308.29
5.0.10.0030.0378.39
5.0.00.0070.0508.15
4.4.90.0100.0236.19
4.4.80.0000.0336.19
4.4.70.0030.0306.68
4.4.60.0000.0336.68
4.4.50.0030.0236.68
4.4.40.0030.0336.68
4.4.30.0030.0306.68
4.4.20.0030.0306.68
4.4.10.0030.0276.68
4.4.00.0030.0336.68
4.3.110.0100.0206.68
4.3.100.0070.0276.68
4.3.90.0070.0236.68
4.3.80.0030.0376.68
4.3.70.0030.0276.68
4.3.60.0000.0236.68
4.3.50.0030.0236.68
4.3.40.0000.0436.68
4.3.30.0070.0176.68
4.3.20.0000.0306.68
4.3.10.0000.0236.68
4.3.00.0170.01715.58

preferences:
41.59 ms | 401 KiB | 5 Q