3v4l.org

run code in 300+ PHP versions simultaneously
<?php class B { private static function __callStatic($name, $args) { var_dump(get_called_class().'::'.$name); } public function doo() { return $this->foo(); } } class A extends B { public function __call($name, $args) { var_dump($name); } } var_dump(__CLASS__); A::bar(); var_dump(get_called_class());

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.40.0060.00918.54
8.3.30.0030.01020.38
8.3.20.0060.00320.20
8.3.10.0000.00822.09
8.3.00.0070.00022.51
8.2.170.0040.01122.96
8.2.160.0080.00620.39
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0120.00326.16
8.2.120.0080.00019.43
8.2.110.0060.00322.25
8.2.100.0070.00419.40
8.2.90.0080.00019.05
8.2.80.0000.00819.34
8.2.70.0090.00017.25
8.2.60.0080.00317.80
8.2.50.0040.00418.07
8.2.40.0040.00418.09
8.2.30.0000.00718.04
8.2.20.0000.00717.72
8.2.10.0000.00817.67
8.2.00.0040.00417.69
8.1.270.0130.00620.03
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0080.00023.97
8.1.230.0050.00519.16
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.00917.00
8.1.190.0040.00417.41
8.1.180.0000.00820.28
8.1.170.0080.00018.73
8.1.160.0040.00422.14
8.1.150.0000.00718.49
8.1.140.0070.00017.41
8.1.130.0030.00517.77
8.1.120.0050.00217.29
8.1.110.0000.00917.45
8.1.100.0000.00817.42
8.1.90.0050.00317.25
8.1.80.0050.00317.39
8.1.70.0030.00617.35
8.1.60.0040.00417.57
8.1.50.0040.00417.48
8.1.40.0000.00817.43
8.1.30.0040.00417.59
8.1.20.0080.00017.49
8.1.10.0040.00417.53
8.1.00.0100.00017.50
8.0.300.0040.00418.77
8.0.290.0000.00717.15
8.0.280.0050.00318.32
8.0.270.0050.00217.22
8.0.260.0030.00316.87
8.0.250.0030.00316.99
8.0.240.0030.00517.01
8.0.230.0030.00317.05
8.0.220.0000.00716.96
8.0.210.0030.00316.93
8.0.200.0000.00617.01
8.0.190.0000.00816.85
8.0.180.0070.00016.88
8.0.170.0080.00017.02
8.0.160.0030.00316.98
8.0.150.0040.00416.81
8.0.140.0050.00316.93
8.0.130.0000.00513.35
8.0.120.0040.00416.96
8.0.110.0050.00317.01
8.0.100.0050.00216.83
8.0.90.0000.00716.89
8.0.80.0060.00916.91
8.0.70.0000.00717.00
8.0.60.0040.00416.77
8.0.50.0020.00517.07
8.0.30.0160.00617.18
8.0.20.0120.00917.40
8.0.10.0040.00416.82
8.0.00.0130.00716.64
7.4.330.0000.00515.00
7.4.320.0070.00016.48
7.4.300.0000.00616.66
7.4.290.0030.00316.40
7.4.280.0000.00716.45
7.4.270.0000.00816.65
7.4.260.0030.00716.48
7.4.250.0040.00416.60
7.4.240.0040.00316.49
7.4.230.0000.00716.59
7.4.220.0110.00616.71
7.4.210.0070.00716.50
7.4.200.0040.00416.55
7.4.190.0030.00316.78
7.4.160.0120.00616.69
7.4.150.0150.00317.40
7.4.140.0130.00917.86
7.4.130.0080.00916.35
7.4.120.0060.01016.50
7.4.110.0170.00716.68
7.4.100.0130.01016.57
7.4.90.0150.00416.70
7.4.80.0090.00919.39
7.4.70.0070.01016.59
7.4.60.0150.00316.61
7.4.50.0070.00016.28
7.4.40.0040.01522.77
7.4.30.0090.00616.39
7.4.00.0030.01015.07
7.3.330.0050.00013.37
7.3.320.0060.00013.21
7.3.310.0030.00516.40
7.3.300.0070.00016.37
7.3.290.0090.00616.43
7.3.280.0130.00216.34
7.3.270.0090.00917.40
7.3.260.0080.00916.36
7.3.250.0140.00716.45
7.3.240.0120.00616.43
7.3.230.0060.01116.49
7.3.210.0070.01116.40
7.3.200.0070.01119.39
7.3.190.0040.01316.38
7.3.180.0030.01316.30
7.3.170.0090.00916.42
7.3.160.0100.01016.41
7.3.120.0140.00314.84
7.3.10.0100.00316.79
7.3.00.0100.00616.34
7.2.330.0080.01116.59
7.2.320.0130.01016.17
7.2.310.0090.00916.59
7.2.300.0150.01116.65
7.2.290.0160.00316.50
7.2.130.0030.01216.64
7.2.120.0100.00616.77
7.2.110.0090.00616.74
7.2.100.0140.00016.69
7.2.90.0040.01116.61
7.2.80.0030.01016.93
7.2.70.0030.00716.59
7.2.60.0050.01116.68
7.2.50.0130.00316.67
7.2.40.0090.00616.88
7.2.30.0060.00916.93
7.2.20.0090.00616.74
7.2.10.0090.00616.66
7.2.00.0040.00817.92
7.1.250.0080.00615.47
7.1.200.0080.00415.67
7.1.100.0090.00018.23
7.1.70.0070.00017.12
7.1.60.0070.01819.40
7.1.50.0140.01116.83
7.1.00.0070.07322.51
7.0.200.0230.00014.88
7.0.140.0030.07322.15
7.0.60.0130.07321.77
7.0.50.0000.06717.97
7.0.40.0170.07319.96
7.0.30.0270.06320.06
7.0.20.0270.05320.18
7.0.10.0070.05720.05
7.0.00.0000.06720.19
5.6.280.0030.07020.86
5.6.210.0000.08020.76
5.6.200.0130.08018.12
5.6.190.0030.05020.58
5.6.180.0200.04020.33
5.6.170.0370.06320.40
5.6.160.0070.04020.55
5.6.150.0000.04318.29
5.6.140.0200.07018.20
5.6.130.0000.08018.28
5.6.120.0030.04321.15
5.6.110.0030.05320.89
5.6.100.0030.05320.95
5.6.90.0230.06721.11
5.6.80.0100.07320.29
5.5.350.0170.04720.42
5.5.340.0070.04018.04
5.5.330.0130.04320.25
5.5.320.0370.04720.29
5.5.310.0230.08320.30
5.5.300.0070.08317.98
5.5.290.0070.08017.99
5.5.280.0070.08320.97
5.5.270.0030.08020.73
5.5.260.0030.05320.96
5.5.250.0070.06720.70
5.5.240.0200.03320.19
5.4.450.0070.06319.16
5.4.440.0300.06319.18
5.4.430.0070.05719.68
5.4.420.0230.05019.32
5.4.410.0100.07718.81
5.4.400.0100.05318.54
5.4.390.0070.05318.79
5.4.380.0070.05718.74
5.4.370.0170.05018.73
5.4.360.0170.05018.78
5.4.350.0060.04112.03
5.4.340.0120.04412.02
5.4.320.0040.04112.52
5.4.310.0070.04112.51
5.4.300.0060.04112.52
5.4.290.0080.04012.50
5.4.280.0070.03512.41
5.4.270.0060.03812.40
5.4.260.0100.03812.40
5.4.250.0100.04718.95
5.4.240.0030.06018.74
5.4.230.0070.05718.98
5.4.220.0170.07318.93
5.4.210.0230.04318.79
5.4.200.0130.05018.95
5.4.190.0100.07318.95
5.4.180.0100.05018.79
5.4.170.0030.05318.96
5.4.160.0100.05718.97
5.4.150.0130.05318.93
5.4.140.0170.04016.60
5.4.130.0070.04716.55
5.4.120.0170.04016.41
5.4.110.0100.04716.54
5.4.100.0070.04716.54
5.4.90.0000.05316.71
5.4.80.0100.04316.52
5.4.70.0100.04716.56
5.4.60.0030.05316.39
5.4.50.0070.04716.38
5.4.40.0130.04016.51
5.4.30.0100.04716.37
5.4.20.0030.05716.38
5.4.10.0070.05016.61
5.4.00.0070.04715.73
5.3.290.0040.04212.80
5.3.280.0100.05014.67
5.3.270.0100.05014.75
5.3.260.0100.05014.63
5.3.250.0130.04714.59
5.3.240.0070.05014.70
5.3.230.0100.04714.60
5.3.220.0070.05014.73
5.3.210.0100.05014.66
5.3.200.0100.04714.42
5.3.190.0100.05014.66
5.3.180.0130.04314.66
5.3.170.0100.05014.54
5.3.160.0000.05714.67
5.3.150.0130.04714.73
5.3.140.0000.05714.55
5.3.130.0000.06014.63
5.3.120.0100.05014.38
5.3.110.0030.05714.52
5.3.100.0030.05314.11
5.3.90.0070.04714.00
5.3.80.0070.05014.05
5.3.70.0030.05014.11
5.3.60.0130.05314.02
5.3.50.0170.04014.04
5.3.40.0000.05714.04
5.3.30.0130.04013.93
5.3.20.0030.05013.93
5.3.10.0100.04313.66
5.3.00.0030.07013.86
5.2.170.0070.04011.24
5.2.160.0070.04011.22
5.2.150.0100.03711.23
5.2.140.0170.03010.97
5.2.130.0070.04011.19
5.2.120.0030.04011.08
5.2.110.0070.04011.17
5.2.100.0030.04011.18
5.2.90.0070.03711.07
5.2.80.0070.04711.17
5.2.70.0100.05711.08
5.2.60.0030.04711.23
5.2.50.0100.04011.01
5.2.40.0070.03711.16
5.2.30.0070.03711.14
5.2.20.0100.03310.94
5.2.10.0030.04010.95
5.2.00.0030.04010.81
5.1.60.0000.03710.00
5.1.50.0030.0339.95
5.1.40.0070.0309.94
5.1.30.0070.03310.43
5.1.20.0100.03010.57
5.1.10.0030.03310.07
5.1.00.0030.03710.07
5.0.50.0000.0308.59
5.0.40.0130.0178.46
5.0.30.0070.0378.28
5.0.20.0070.0208.13
5.0.10.0070.0238.17
5.0.00.0000.0438.08
4.4.90.0070.0206.07
4.4.80.0000.0206.07
4.4.70.0000.0236.07
4.4.60.0030.0206.07
4.4.50.0070.0176.07
4.4.40.0000.0336.07
4.4.30.0030.0206.07
4.4.20.0030.0206.07
4.4.10.0070.0176.07
4.4.00.0000.0336.07
4.3.110.0000.0236.07
4.3.100.0030.0206.07
4.3.90.0030.0206.07
4.3.80.0000.0336.07
4.3.70.0000.0236.07
4.3.60.0000.0236.07
4.3.50.0030.0236.07
4.3.40.0070.0276.07
4.3.30.0000.0236.07
4.3.20.0000.0236.07
4.3.10.0000.0236.07
4.3.00.0030.0206.88

preferences:
35.32 ms | 400 KiB | 5 Q