3v4l.org

run code in 300+ PHP versions simultaneously
<?php class WEE { private function wewe(){ echo 'Parent', PHP_EOL; } public static function test_static () { static::wewe(); } public static function test_self () { self::wewe(); } } class child extends WEE { protected function wewe(){ echo 'child', PHP_EOL; } } child::test_static();

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.0110.00318.56
8.3.50.0130.00521.09
8.3.40.0120.00318.83
8.3.30.0040.01118.85
8.3.20.0040.00420.24
8.3.10.0040.00423.66
8.3.00.0040.00423.54
8.2.180.0070.01018.07
8.2.170.0070.00722.96
8.2.160.0130.00019.31
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0000.00826.16
8.2.120.0060.00317.50
8.2.110.0070.00321.01
8.2.100.0120.00017.63
8.2.90.0040.00419.09
8.2.80.0000.00817.97
8.2.70.0040.00417.75
8.2.60.0040.00417.93
8.2.50.0040.00418.07
8.2.40.0040.00421.10
8.2.30.0000.00819.66
8.2.20.0040.00417.68
8.2.10.0030.00517.87
8.2.00.0000.00718.07
8.1.280.0120.00625.92
8.1.270.0080.00020.24
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0060.00323.98
8.1.230.0090.00317.53
8.1.220.0070.00017.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0050.00318.49
8.1.160.0050.00321.96
8.1.150.0000.00718.68
8.1.140.0030.00617.20
8.1.130.0070.00017.58
8.1.120.0000.00817.33
8.1.110.0000.00717.23
8.1.100.0040.00417.30
8.1.90.0000.00717.34
8.1.80.0000.00817.18
8.1.70.0030.00317.24
8.1.60.0060.00317.51
8.1.50.0000.00717.44
8.1.40.0020.00517.31
8.1.30.0040.00417.59
8.1.20.0000.00717.58
8.1.10.0040.00417.38
8.1.00.0080.00017.44
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0040.00418.33
8.0.270.0030.00317.25
8.0.260.0040.00417.20
8.0.250.0040.00416.90
8.0.240.0030.00316.87
8.0.230.0080.00016.91
8.0.220.0030.00316.89
8.0.210.0040.00416.91
8.0.200.0040.00417.00
8.0.190.0000.00716.97
8.0.180.0000.00816.84
8.0.170.0000.00716.84
8.0.160.0000.00817.03
8.0.150.0030.00316.72
8.0.140.0000.00916.85
8.0.130.0000.00713.29
8.0.120.0040.00416.84
8.0.110.0040.00416.83
8.0.100.0040.00416.95
8.0.90.0040.00416.89
8.0.80.0180.00416.87
8.0.70.0000.00717.01
8.0.60.0040.00416.91
8.0.50.0040.00416.80
8.0.30.0060.01117.05
8.0.20.0030.01517.40
8.0.10.0040.00416.75
8.0.00.0090.00816.77
7.4.330.0030.00315.14
7.4.320.0030.00316.46
7.4.300.0000.00716.60
7.4.290.0000.00716.46
7.4.280.0090.00016.45
7.4.270.0020.00516.54
7.4.260.0000.00716.48
7.4.250.0040.00416.54
7.4.240.0050.00216.56
7.4.230.0000.00716.71
7.4.220.0060.01016.38
7.4.210.0100.00416.61
7.4.200.0000.00716.58
7.4.160.0060.00916.52
7.4.150.0230.00017.40
7.4.140.0080.01017.86
7.4.130.0110.00916.42
7.4.120.0070.01016.51
7.4.110.0040.01416.63
7.4.100.0080.01516.52
7.4.90.0200.00416.70
7.4.80.0040.01219.39
7.4.70.0130.00316.61
7.4.60.0100.00716.42
7.4.50.0020.00216.53
7.4.40.0090.00916.55
7.4.30.0110.01216.28
7.4.00.0030.00914.93
7.3.330.0060.00013.36
7.3.320.0000.00513.31
7.3.310.0030.00316.28
7.3.300.0030.00316.30
7.3.290.0060.00916.25
7.3.280.0100.00716.33
7.3.270.0130.00417.40
7.3.260.0150.00316.22
7.3.250.0110.00616.42
7.3.240.0130.00716.47
7.3.230.0050.01616.51
7.3.210.0030.01416.51
7.3.200.0080.01216.34
7.3.190.0060.00916.28
7.3.180.0030.01316.48
7.3.170.0130.00316.36
7.3.160.0090.00616.22
7.3.10.0150.00616.41
7.3.00.0120.00416.35
7.2.330.0060.01616.50
7.2.320.0110.00616.58
7.2.310.0070.01016.57
7.2.300.0130.01016.38
7.2.290.0070.01116.34
7.2.130.0080.01216.25
7.2.120.0140.00016.56
7.2.110.0150.00316.71
7.2.100.0120.01616.56
7.2.90.0130.00716.27
7.2.80.0170.00316.55
7.2.70.0130.00616.57
7.2.60.0050.00916.79
7.2.50.0100.00616.64
7.2.40.0120.00616.36
7.2.30.0080.01716.66
7.2.20.0130.01316.35
7.2.10.0170.00816.23
7.2.00.0220.00818.00
7.1.250.0110.00815.53
7.1.200.0040.00815.32
7.1.100.0040.01118.06
7.1.70.0070.00716.73
7.1.60.0090.00619.18
7.1.50.0130.01316.74
7.1.00.0030.07722.33
7.0.200.0170.00616.63
7.0.60.0130.07719.90
7.0.50.0070.08017.87
7.0.40.0100.04720.40
7.0.30.0430.06320.04
7.0.20.0270.07720.12
7.0.10.0070.08720.21
7.0.00.0070.05720.30
5.6.280.0000.07721.00
5.6.210.0070.07020.48
5.6.200.0070.06718.25
5.6.190.0130.08020.46
5.6.180.0470.05020.47
5.6.170.0200.05020.69
5.6.160.0030.07320.52
5.6.150.0130.07018.19
5.6.140.0070.08018.11
5.6.130.0030.04018.16
5.6.120.0030.06321.00
5.6.110.0170.06320.97
5.6.100.0030.06321.12
5.6.90.0030.09020.95
5.6.80.0070.08320.46
5.5.350.0170.05320.50
5.5.340.0100.03317.99
5.5.330.0070.08020.45
5.5.320.0430.06720.20
5.5.310.0300.06720.28
5.5.300.0130.04718.07
5.5.290.0070.05017.95
5.5.280.0070.08020.68
5.5.270.0070.03720.76
5.5.260.0070.07720.84
5.5.250.0030.04320.55
5.5.240.0070.08020.25
5.4.450.0330.08019.61
5.4.440.0230.05319.50
5.4.430.0300.06019.58
5.4.420.0270.05319.45
5.4.410.0330.05019.49
5.4.400.0230.04718.98
5.4.390.0200.05718.97
5.4.380.0270.06018.95
5.4.370.0230.04719.22
5.4.360.0200.05319.18
5.4.350.0130.05719.23
5.4.340.0170.06019.14
5.4.320.0230.07018.83
5.4.310.0230.05319.14
5.4.300.0170.05319.11
5.4.290.0270.05319.13
5.4.280.0270.04719.18
5.4.270.0370.05719.24
5.4.260.0230.05719.02
5.4.250.0230.04718.98
5.4.240.0130.05719.25
5.4.230.0070.06319.17
5.4.220.0270.06019.14
5.4.210.0200.06019.09
5.4.200.0270.04316.76
5.4.190.0270.04719.00
5.4.180.0170.05719.21
5.4.170.0300.04719.12
5.4.160.0270.04719.07
5.4.150.0200.05319.30
5.4.140.0230.04316.38
5.4.130.0230.04016.59
5.4.120.0200.04716.38
5.4.110.0170.05016.43
5.4.100.0130.05316.46
5.4.90.0200.05016.60
5.4.80.0100.05716.44
5.4.70.0270.06316.56
5.4.60.0300.04716.50
5.4.50.0200.06316.46
5.4.40.0370.05316.50
5.4.30.0170.06716.39
5.4.20.0300.05016.50
5.4.10.0200.05316.25
5.4.00.0170.05315.79
5.3.290.0100.07014.56
5.3.280.0400.04014.60
5.3.270.0230.05714.49
5.3.260.0270.05014.71
5.3.250.0330.05314.62
5.3.240.0130.06014.50
5.3.230.0300.05014.45
5.3.220.0170.05314.79
5.3.210.0130.06014.54
5.3.200.0200.05014.57
5.3.190.0270.05314.54
5.3.180.0200.05714.46
5.3.170.0200.05014.41
5.3.160.0300.05314.57
5.3.150.0300.06014.63
5.3.140.0100.06014.58
5.3.130.0170.06014.55
5.3.120.0230.04714.45
5.3.110.0270.04714.60
5.3.100.0270.04714.05
5.3.90.0270.04314.03
5.3.80.0130.05314.07
5.3.70.0200.04714.25
5.3.60.0130.05314.04
5.3.50.0230.04713.86
5.3.40.0070.06014.17
5.3.30.0200.04713.80
5.3.20.0230.04313.60
5.3.10.0130.05013.66
5.3.00.0300.03713.65
5.2.170.0170.04011.07
5.2.160.0200.03311.20
5.2.150.0170.04011.24
5.2.140.0270.03011.03
5.2.130.0200.03711.06
5.2.120.0200.03311.01
5.2.110.0130.04711.32
5.2.100.0130.05711.11
5.2.90.0200.04311.04
5.2.80.0170.04011.00
5.2.70.0170.04011.32
5.2.60.0130.04710.96
5.2.50.0100.04310.91
5.2.40.0130.04011.05
5.2.30.0170.03710.88
5.2.20.0130.04010.97
5.2.10.0200.03310.91
5.2.00.0170.03710.94
5.1.60.0170.0309.93
5.1.50.0030.0409.98
5.1.40.0100.0379.91
5.1.30.0130.03310.18
5.1.20.0170.03010.29
5.1.10.0100.03710.13
5.1.00.0130.0339.92
5.0.50.0070.0308.43
5.0.40.0070.0278.30
5.0.30.0070.0438.15
5.0.20.0030.0308.18
5.0.10.0230.0238.25
5.0.00.0070.0438.12
4.4.90.0100.0178.12
4.4.80.0070.0208.12
4.4.70.0030.0238.12
4.4.60.0030.0238.12
4.4.50.0000.0308.12
4.4.40.0000.0408.12
4.4.30.0030.0278.12
4.4.20.0070.0208.12
4.4.10.0070.0208.12
4.4.00.0070.0338.12
4.3.110.0070.0238.12
4.3.100.0030.0278.12
4.3.90.0070.0208.12
4.3.80.0100.0308.12
4.3.70.0100.0178.12
4.3.60.0100.0178.12
4.3.50.0000.0278.12
4.3.40.0030.0378.12
4.3.30.0030.0238.12
4.3.20.0030.0278.12
4.3.10.0070.0208.12
4.3.00.0100.0177.26

preferences:
64.52 ms | 401 KiB | 5 Q