3v4l.org

run code in 300+ PHP versions simultaneously
<?php class myParent { public function __call($method, $params) { echo "from __call"; } public function __callStatic($method, $params) { echo "from __callStatic"; } } class mySon extends myParent { public function bar() { myParent::foo(); } } (new mySon())->bar();

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.5.30.0110.00717.29
8.5.20.0100.00719.86
8.5.10.0090.00820.26
8.5.00.0150.00619.70
8.4.180.0120.00819.67
8.4.170.0140.00623.91
8.4.160.0140.00723.84
8.4.150.0080.00416.82
8.4.140.0150.01117.73
8.4.130.0100.00918.81
8.4.120.0120.00723.98
8.4.110.0120.00818.80
8.4.100.0140.00618.88
8.4.90.0100.01020.70
8.4.80.0060.00318.60
8.4.70.0040.00618.86
8.4.60.0060.01018.96
8.4.50.0130.00818.55
8.4.40.0130.00620.39
8.4.30.0140.00717.83
8.4.20.0100.01017.83
8.4.10.0030.01317.60
8.3.300.0060.00320.75
8.3.290.0130.00820.75
8.3.280.0090.01118.29
8.3.270.0110.00816.90
8.3.260.0080.01116.66
8.3.250.0090.00618.69
8.3.240.0050.00617.04
8.3.230.0130.00616.63
8.3.220.0120.00718.91
8.3.210.0090.00516.49
8.3.200.0110.00916.46
8.3.190.0120.00717.15
8.3.180.0100.00918.81
8.3.170.0150.00318.97
8.3.160.0060.00317.18
8.3.150.0100.01016.43
8.3.140.0130.00917.16
8.3.130.0060.00318.27
8.3.120.0040.00420.70
8.3.110.0040.00420.94
8.3.100.0030.00624.06
8.3.90.0060.00926.77
8.3.80.0060.00318.18
8.3.70.0120.00316.75
8.3.60.0090.01216.50
8.3.50.0140.00721.14
8.3.40.0030.01018.71
8.3.30.0180.00018.72
8.3.20.0050.00318.73
8.3.10.0040.00421.89
8.3.00.0000.00820.77
8.2.300.0120.00920.21
8.2.290.0120.00720.41
8.2.280.0140.00618.42
8.2.270.0110.00716.65
8.2.260.0110.00716.36
8.2.250.0070.01418.22
8.2.240.0060.00316.88
8.2.230.0060.00322.58
8.2.220.0090.00037.54
8.2.210.0070.01126.77
8.2.200.0060.00316.75
8.2.190.0060.01216.61
8.2.180.0030.01716.48
8.2.170.0110.00322.96
8.2.160.0100.00319.06
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00022.08
8.2.120.0040.00426.35
8.2.110.0070.00319.45
8.2.100.0090.00317.79
8.2.90.0040.00419.13
8.2.80.0000.00817.97
8.2.70.0060.00317.25
8.2.60.0030.00517.68
8.2.50.0000.00818.10
8.2.40.0050.00220.59
8.2.30.0040.00420.74
8.2.20.0020.00517.60
8.2.10.0060.00318.00
8.2.00.0000.00817.92
8.1.340.0110.00917.69
8.1.330.0070.00521.91
8.1.320.0130.00716.17
8.1.310.0030.00517.91
8.1.300.0090.00618.11
8.1.290.0080.00330.84
8.1.280.0110.01125.92
8.1.270.0000.00923.99
8.1.260.0050.00326.35
8.1.250.0030.00528.09
8.1.240.0080.00022.48
8.1.230.0080.00317.83
8.1.220.0000.00917.74
8.1.210.0080.00018.77
8.1.200.0030.00617.10
8.1.190.0050.00316.98
8.1.180.0030.00718.10
8.1.170.0050.00318.65
8.1.160.0070.00020.82
8.1.150.0050.00318.68
8.1.140.0020.00519.36
8.1.130.0070.00017.63
8.1.120.0000.00717.36
8.1.110.0000.00717.25
8.1.100.0040.00417.34
8.1.90.0070.00017.23
8.1.80.0040.00417.36
8.1.70.0030.00317.29
8.1.60.0040.00417.35
8.1.50.0040.00417.42
8.1.40.0050.00517.23
8.1.30.0040.00417.42
8.1.20.0000.00817.49
8.1.10.0050.00317.21
8.1.00.0000.00817.23
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0030.00318.31
8.0.270.0040.00417.14
8.0.260.0000.00617.13
8.0.250.0060.00016.94
8.0.240.0040.00416.88
8.0.230.0030.00316.89
8.0.220.0000.00716.75
8.0.210.0050.00216.75
8.0.200.0030.00316.88
8.0.190.0000.00816.89
8.0.180.0050.00216.83
8.0.170.0000.00816.89
8.0.160.0000.00716.77
8.0.150.0040.00416.74
8.0.140.0070.00416.79
8.0.130.0050.00013.28
8.0.120.0080.00016.69
8.0.110.0000.00816.77
8.0.100.0030.00616.66
8.0.90.0070.00016.89
8.0.80.0130.01016.89
8.0.70.0040.00416.64
8.0.60.0000.00716.83
8.0.50.0040.00416.77
8.0.30.0100.00617.10
8.0.20.0100.00917.40
8.0.10.0040.00416.79
8.0.00.0100.01016.65
7.4.330.0020.00215.08
7.4.320.0000.00616.45
7.4.300.0000.00616.50
7.4.290.0070.00016.59
7.4.280.0040.00416.59
7.4.270.0040.00416.48
7.4.260.0030.00316.53
7.4.250.0080.00016.57
7.4.240.0000.00816.52
7.4.230.0050.00216.50
7.4.220.0090.01016.63
7.4.210.0040.01116.63
7.4.200.0030.00316.70
7.4.160.0090.00616.60
7.4.150.0160.00617.40
7.4.140.0070.01217.86
7.4.130.0110.01016.38
7.4.120.0110.00816.43
7.4.110.0090.00916.54
7.4.100.0170.00016.70
7.4.90.0100.00716.29
7.4.80.0060.01019.39
7.4.70.0090.00816.42
7.4.60.0090.00616.37
7.4.50.0060.00616.35
7.4.40.0170.00716.38
7.4.30.0060.00916.82
7.4.00.0040.01514.96
7.3.330.0080.00013.12
7.3.320.0030.00313.30
7.3.310.0000.00716.30
7.3.300.0060.00016.32
7.3.290.0060.00916.32
7.3.280.0110.01016.31
7.3.270.0160.00317.40
7.3.260.0090.00916.63
7.3.250.0070.01516.25
7.3.240.0110.00616.29
7.3.230.0140.00416.45
7.3.210.0070.01016.32
7.3.200.0140.00716.38
7.3.190.0080.00816.16
7.3.180.0090.00616.39
7.3.170.0060.01516.45
7.3.160.0120.00316.33
7.3.10.0090.00616.30
7.3.00.0030.01016.55
7.2.330.0070.01216.75
7.2.320.0130.00316.67
7.2.310.0100.00716.56
7.2.300.0120.00616.59
7.2.290.0150.01016.39
7.2.130.0040.00816.95
7.2.120.0060.00916.83
7.2.110.0000.00916.57
7.2.100.0060.00916.85
7.2.90.0050.00516.94
7.2.80.0030.01016.96
7.2.70.0070.00716.79
7.2.60.0070.00716.67
7.2.50.0110.00316.82
7.2.40.0090.00616.72
7.2.30.0030.00716.67
7.2.20.0100.00016.88
7.2.10.0070.00416.81
7.2.00.0060.00817.96
7.1.250.0060.00615.42
7.1.200.0040.00815.67
7.1.100.0060.00617.91
7.1.70.0040.00416.95
7.1.60.0140.01020.41
7.1.00.0070.07322.43
7.0.200.0260.00314.61
7.0.60.0030.08321.65
7.0.50.0130.07317.87
7.0.40.0400.05320.23
7.0.30.0470.08720.27
7.0.20.0470.05720.38
7.0.10.0330.06320.26
7.0.00.0370.05720.26
5.6.280.0100.06721.05
5.6.210.0100.07720.67
5.6.200.0130.07718.29
5.6.190.0370.05320.68
5.6.180.0470.06720.62
5.6.170.0300.06020.64
5.6.160.0330.05720.44
5.6.150.0330.05720.28
5.6.140.0230.05320.42
5.6.130.0230.06020.45
5.6.120.0230.06320.42
5.6.110.0100.06020.20
5.6.100.0230.05320.30
5.6.90.0330.07020.39
5.6.80.0370.05319.60
5.6.70.0430.04319.79
5.6.60.0230.06019.71
5.6.50.0130.05019.80
5.6.40.0230.04719.78
5.6.30.0300.05719.95
5.6.20.0230.06019.56
5.6.10.0230.06019.57
5.6.00.0330.05719.71
5.5.350.0230.07720.39
5.5.340.0170.06318.07
5.5.330.0230.05720.52
5.5.320.0430.08020.19
5.5.310.0330.06320.36
5.5.300.0130.06020.13
5.5.290.0630.06020.08
5.5.280.0070.06320.16
5.5.270.0170.05320.26
5.5.260.0370.06020.15
5.5.250.0400.07719.94
5.5.240.0330.05719.63
5.5.230.0230.06019.62
5.5.220.0330.07319.49
5.5.210.0500.04019.51
5.5.200.0030.06319.45
5.5.190.0330.07019.52
5.5.180.0300.05719.55
5.5.160.0300.06019.51
5.5.150.0430.05319.58
5.5.140.0370.05319.48
5.5.130.0400.05319.52
5.5.120.0300.06319.42
5.5.110.0370.05719.50
5.5.100.0300.06319.47
5.5.90.0330.05719.48
5.5.80.0370.05719.49
5.5.70.0330.05319.46
5.5.60.0230.06019.33
5.5.50.0430.04019.32
5.5.40.0500.04319.38
5.5.30.0330.06019.36
5.5.20.0330.05719.41
5.5.10.0300.06319.31
5.5.00.0370.05319.43

preferences:
47.15 ms | 1699 KiB | 5 Q