3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Vendor_Foo { const MY_CONST = 'core'; } class Foo { public function __callStatic($name, $arguments) { } public function __get($name) { return Vendor_Foo::$name; } } var_dump(Foo::MY_CONST);

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.55
8.3.50.0080.00921.20
8.3.40.0120.00318.71
8.3.30.0070.00718.57
8.3.20.0140.00718.63
8.3.10.0060.00320.97
8.3.00.0080.00023.66
8.2.180.0130.00718.29
8.2.170.0120.00322.96
8.2.160.0120.00620.47
8.2.150.0110.00424.18
8.2.140.0000.00724.66
8.2.130.0030.00626.16
8.2.120.0040.00421.03
8.2.110.0090.00020.56
8.2.100.0120.00017.58
8.2.90.0040.00419.09
8.2.80.0080.00017.97
8.2.70.0040.00417.13
8.2.60.0000.00817.88
8.2.50.0000.01218.07
8.2.40.0030.00617.91
8.2.30.0040.00719.43
8.2.20.0070.00017.48
8.2.10.0040.00417.61
8.2.00.0040.00417.42
8.1.280.0070.00725.92
8.1.270.0000.00823.99
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0000.01022.53
8.1.230.0120.00020.88
8.1.220.0060.00318.77
8.1.210.0000.00818.90
8.1.200.0060.00317.23
8.1.190.0040.00417.39
8.1.180.0030.00618.10
8.1.170.0000.00818.46
8.1.160.0030.00518.65
8.1.150.0000.00718.50
8.1.140.0040.00417.27
8.1.130.0030.00317.71
8.1.120.0000.00717.33
8.1.110.0040.00417.21
8.1.100.0070.00017.20
8.1.90.0000.00817.21
8.1.80.0070.00017.32
8.1.70.0030.00317.20
8.1.60.0040.00417.34
8.1.50.0030.00617.23
8.1.40.0040.00417.30
8.1.30.0040.00417.49
8.1.20.0000.00817.49
8.1.10.0020.00517.31
8.1.00.0000.00717.29
8.0.300.0000.00719.81
8.0.290.0030.00316.93
8.0.280.0070.00018.30
8.0.270.0070.00017.14
8.0.260.0080.00016.75
8.0.250.0000.00716.79
8.0.240.0070.00216.88
8.0.230.0070.00016.85
8.0.220.0030.00616.82
8.0.210.0070.00016.86
8.0.200.0030.00516.86
8.0.190.0000.00816.79
8.0.180.0070.00016.85
8.0.170.0030.00516.81
8.0.160.0070.00016.79
8.0.150.0000.00716.72
8.0.140.0040.00416.79
8.0.130.0000.00513.23
8.0.120.0000.00816.68
8.0.110.0050.00216.77
8.0.100.0000.00916.68
8.0.90.0040.00416.67
8.0.80.0040.01116.80
8.0.70.0000.00716.71
8.0.60.0040.00416.88
8.0.50.0040.00416.85
8.0.30.0110.00917.04
8.0.20.0070.01117.40
8.0.10.0000.00716.98
8.0.00.0150.00816.50
7.4.330.0020.00216.66
7.4.320.0000.00616.43
7.4.300.0030.00316.52
7.4.290.0000.00716.32
7.4.280.0030.00316.43
7.4.270.0030.00316.54
7.4.260.0030.00313.20
7.4.250.0000.00816.48
7.4.240.0000.00716.30
7.4.230.0000.00716.40
7.4.220.0130.00616.50
7.4.210.0070.00716.50
7.4.200.0070.00016.18
7.4.190.0030.00316.70
7.4.160.0120.00816.36
7.4.150.0130.00517.40
7.4.140.0070.01417.86
7.4.130.0100.00716.33
7.4.120.0120.00516.44
7.4.110.0100.00716.54
7.4.100.0190.00516.40
7.4.90.0130.00416.67
7.4.80.0150.00319.39
7.4.70.0140.00716.58
7.4.60.0090.00916.70
7.4.50.0000.00816.10
7.4.40.0070.00722.77
7.4.30.0060.01016.22
7.4.00.0060.00615.15
7.3.330.0030.00313.07
7.3.320.0000.00613.37
7.3.310.0000.00716.16
7.3.300.0000.00716.16
7.3.290.0110.00816.28
7.3.280.0070.01016.33
7.3.270.0140.00317.40
7.3.260.0100.00918.24
7.3.250.0130.00616.36
7.3.240.0100.00716.56
7.3.230.0110.00616.54
7.3.210.0140.00716.35
7.3.200.0070.01019.39
7.3.190.0070.01016.28
7.3.180.0100.01716.35
7.3.170.0090.01216.37
7.3.160.0060.01016.60
7.3.120.0070.00714.74
7.3.10.0190.00316.57
7.3.00.0000.01016.54
7.2.330.0090.00916.57
7.2.320.0090.00916.35
7.2.310.0160.00716.54
7.2.300.0130.01016.63
7.2.290.0070.01016.50
7.2.130.0120.00816.70
7.2.120.0090.01316.88
7.2.110.0100.00316.77
7.2.100.0130.00916.60
7.2.90.0080.01416.88
7.2.80.0210.00716.95
7.2.70.0140.00516.82
7.2.60.0060.00716.68
7.2.50.0120.00216.85
7.2.40.0050.01116.89
7.2.30.0110.00316.59
7.2.20.0060.00616.86
7.2.10.0070.00716.55
7.2.00.0030.00917.97
7.1.250.0240.00015.61
7.1.200.0000.01215.54
7.1.70.0040.00417.00
7.1.60.0070.00417.19
7.1.50.0070.00316.86
7.1.40.0040.00716.51
7.1.30.0030.00716.54
7.1.20.0100.00316.70
7.1.10.0030.00616.48
7.1.00.0030.00716.46
7.0.200.0000.00716.46
7.0.190.0000.00816.46
7.0.180.0000.00716.46
7.0.170.0080.00316.46
7.0.160.0000.00816.46
7.0.150.0040.00716.46
7.0.140.0050.00316.46
7.0.130.0030.00516.46
7.0.120.0030.00616.46
7.0.110.0040.00416.46
7.0.100.0000.00816.46
7.0.90.0040.00416.46
7.0.80.0060.00316.46
7.0.70.0060.00316.46
7.0.60.0070.00316.46
7.0.50.0000.00716.46
7.0.40.0000.00716.46
7.0.30.0040.00416.46
7.0.20.0030.01016.46
7.0.10.0070.00316.46
7.0.00.0000.00716.46
5.6.300.0000.04321.01
5.6.290.0100.04320.87
5.6.280.0340.04121.06
5.6.270.0070.04121.05
5.6.260.0000.04820.87
5.6.250.0030.04221.07
5.6.240.0070.06120.88
5.6.230.0000.05020.92
5.6.220.0060.04220.80
5.6.210.0060.03920.62
5.6.200.0030.04421.04
5.6.190.0100.04020.84
5.6.180.0000.04420.97
5.6.170.0100.03320.84
5.6.160.0070.04020.87
5.6.150.0030.04220.84
5.6.140.0000.04421.00
5.6.130.0000.04820.86
5.6.120.0060.04220.77
5.6.110.0000.07520.98
5.6.100.0100.03920.98
5.6.90.0000.04521.00
5.6.80.0070.03520.42
5.6.70.0030.04120.26
5.6.60.0070.04020.41
5.6.50.0030.04020.38
5.6.40.0030.04020.35
5.6.30.0070.03920.21
5.6.20.0130.02920.20
5.6.10.0090.03120.29
5.6.00.0030.07820.33
5.5.380.0000.04517.47
5.5.370.0000.04517.56
5.5.360.0100.05717.43
5.5.350.0030.04217.51
5.5.340.0070.04017.85
5.5.330.0150.04318.09
5.5.320.0030.04418.04
5.5.310.0060.03518.13
5.5.300.0100.03817.69
5.5.290.0030.04518.18
5.5.280.0060.04218.14
5.5.270.0000.05218.03
5.5.260.0000.04818.02
5.5.250.0000.04817.65
5.5.240.0030.03817.56
5.5.230.0030.04017.41
5.5.220.0000.05117.38
5.5.210.0000.04817.41
5.5.200.0070.04817.20
5.5.190.0090.03717.36
5.5.180.0030.03817.48
5.5.160.0060.03517.35
5.5.150.0040.03917.44
5.5.140.0030.04017.48
5.5.130.0040.04017.47
5.5.120.0030.04717.21
5.5.110.0000.04617.48
5.5.100.0030.04317.35
5.5.90.0030.03717.09
5.5.80.0030.04217.11
5.5.70.0000.04117.34
5.5.60.0100.03317.28
5.5.50.0060.03517.38
5.5.40.0130.03617.34
5.5.30.0030.04017.36
5.5.20.0000.04316.93
5.5.10.0070.03717.32
5.5.00.0090.03417.24
5.4.450.0100.03919.56
5.4.440.0240.03419.59
5.4.430.0030.04619.46
5.4.420.0000.04319.39
5.4.410.0060.03519.36
5.4.400.0030.04419.14
5.4.390.0100.03419.23
5.4.380.0070.03819.06
5.4.370.0030.03919.21
5.4.360.0070.03719.13
5.4.350.0000.04319.23
5.4.340.0000.04318.96
5.4.320.0030.03818.98
5.4.310.0130.02819.07
5.4.300.0030.04219.08
5.4.290.0000.04118.92
5.4.280.0070.04218.98
5.4.270.0070.04719.11
5.4.260.0030.03818.97
5.4.250.0040.05719.08
5.4.240.0030.04118.91
5.4.230.0030.03719.13
5.4.220.0030.04119.03
5.4.210.0000.04119.11
5.4.200.0070.03419.23
5.4.190.0040.03919.07
5.4.180.0170.03819.06
5.4.170.0060.03419.06
5.4.160.0030.04719.18
5.4.150.0030.04619.06
5.4.140.0000.04516.52
5.4.130.0040.03616.60
5.4.120.0060.03116.73
5.4.110.0030.04116.68
5.4.100.0090.03016.76
5.4.90.0070.03416.76
5.4.80.0000.04516.67
5.4.70.0040.03316.73
5.4.60.0070.03516.71
5.4.50.0030.03516.60
5.4.40.0060.05216.66
5.4.30.0030.03716.67
5.4.20.0060.03316.74
5.4.10.0030.04116.59
5.4.00.0030.03716.46
5.3.290.0030.05216.46
5.3.280.0000.04216.46
5.3.270.0030.03816.46
5.3.260.0100.03616.46
5.3.250.0030.03816.46
5.3.240.0070.03316.46
5.3.230.0000.04416.46
5.3.220.0000.04216.46
5.3.210.0070.03216.46
5.3.200.0100.03116.46
5.3.190.0040.03616.46
5.3.180.0100.02916.46
5.3.170.0030.03716.46
5.3.160.0070.03616.46
5.3.150.0000.04416.46
5.3.140.0070.03616.46
5.3.130.0000.04316.46
5.3.120.0000.04316.46
5.3.110.0060.03816.46
5.3.100.0030.04416.46
5.3.90.0040.03516.46
5.3.80.0030.03516.46
5.3.70.0000.03916.46
5.3.60.0160.03316.46
5.3.50.0000.04316.46
5.3.40.0060.03416.46
5.3.30.0090.03416.46
5.3.20.0000.03716.46
5.3.10.0040.03916.46
5.3.00.0000.03916.46
5.2.170.0030.03216.46
5.2.160.0030.03016.46
5.2.150.0000.03416.46
5.2.140.0030.02916.46
5.2.130.0040.02716.46
5.2.120.0040.03516.46
5.2.110.0000.03316.46
5.2.100.0060.02616.46
5.2.90.0000.03116.46
5.2.80.0090.02516.46
5.2.70.0060.02516.46
5.2.60.0000.03916.46
5.2.50.0000.03416.46
5.2.40.0030.03016.46
5.2.30.0040.02916.46
5.2.20.0000.03116.46
5.2.10.0080.02516.46
5.2.00.0040.02816.46
5.1.60.0000.02616.46
5.1.50.0030.02516.46
5.1.40.0040.02616.46
5.1.30.0070.02316.46
5.1.20.0040.02916.46
5.1.10.0060.02416.46
5.1.00.0070.02216.46
5.0.50.0100.01316.46
5.0.40.0000.02216.46
5.0.30.0030.03016.46
5.0.20.0030.02016.46
5.0.10.0000.02316.46
5.0.00.0000.03616.46
4.4.90.0030.03416.46
4.4.80.0000.01816.46
4.4.70.0000.01616.46
4.4.60.0000.01816.46
4.4.50.0050.01116.46
4.4.40.0130.02616.46
4.4.30.0090.01916.46
4.4.20.0000.01616.46
4.4.10.0000.01716.46
4.4.00.0060.02116.46
4.3.110.0040.01516.46
4.3.100.0000.01816.46
4.3.90.0040.01416.46
4.3.80.0000.03016.46
4.3.70.0000.01616.46
4.3.60.0000.01816.46
4.3.50.0030.01416.46
4.3.40.0000.02816.46
4.3.30.0000.01616.46
4.3.20.0000.02016.46
4.3.10.0030.01616.46
4.3.00.0000.01916.46

preferences:
65.45 ms | 401 KiB | 5 Q