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 static function bar() { myParent::foo(); } } 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.0060.01117.08
8.5.20.0100.00720.07
8.5.10.0100.00920.14
8.5.00.0110.01019.75
8.4.180.0140.00819.60
8.4.170.0110.01122.11
8.4.160.0110.01222.20
8.4.150.0070.00516.84
8.4.140.0120.00917.83
8.4.130.0110.01019.63
8.4.120.0110.00622.59
8.4.110.0090.01122.35
8.4.100.0130.00818.52
8.4.90.0090.00618.64
8.4.80.0100.00918.81
8.4.70.0100.00519.16
8.4.60.0130.00718.95
8.4.50.0110.00518.47
8.4.40.0100.01020.57
8.4.30.0170.00317.75
8.4.20.0100.01017.84
8.4.10.0060.00317.63
8.3.300.0080.00920.88
8.3.290.0130.00620.72
8.3.280.0090.01118.37
8.3.270.0110.01016.74
8.3.260.0040.00516.49
8.3.250.0120.00718.80
8.3.240.0110.00917.15
8.3.230.0150.00616.74
8.3.220.0120.00818.81
8.3.210.0130.00716.86
8.3.200.0060.00316.77
8.3.190.0040.00418.88
8.3.180.0110.00718.90
8.3.170.0120.00618.88
8.3.160.0070.01118.78
8.3.150.0120.00619.04
8.3.140.0100.00718.93
8.3.130.0060.00318.30
8.3.120.0060.00318.76
8.3.110.0060.00316.66
8.3.100.0030.00724.06
8.3.90.0150.00326.77
8.3.80.0050.00517.97
8.3.70.0120.00616.50
8.3.60.0040.01816.38
8.3.50.0070.01421.92
8.3.40.0040.01118.74
8.3.30.0120.00318.73
8.3.20.0080.00018.47
8.3.10.0040.00421.73
8.3.00.0080.00020.84
8.2.300.0110.00922.11
8.2.290.0130.00520.54
8.2.280.0100.00919.97
8.2.270.0130.00616.54
8.2.260.0140.00416.77
8.2.250.0170.00318.30
8.2.240.0040.00420.34
8.2.230.0000.01020.94
8.2.220.0000.01037.54
8.2.210.0070.00726.77
8.2.200.0000.00916.63
8.2.190.0150.00016.58
8.2.180.0150.00616.63
8.2.170.0060.00822.96
8.2.160.0000.01519.08
8.2.150.0070.00024.18
8.2.140.0000.00724.66
8.2.130.0000.00722.25
8.2.120.0030.00526.35
8.2.110.0090.00020.94
8.2.100.0030.00917.80
8.2.90.0040.00419.05
8.2.80.0050.00317.97
8.2.70.0030.00617.25
8.2.60.0000.00817.93
8.2.50.0000.00818.10
8.2.40.0040.00420.61
8.2.30.0000.00720.63
8.2.20.0040.00417.56
8.2.10.0040.00418.05
8.2.00.0040.00417.93
8.1.340.0120.00819.26
8.1.330.0100.00921.73
8.1.320.0130.00616.36
8.1.310.0120.00616.60
8.1.300.0070.00318.02
8.1.290.0070.00330.84
8.1.280.0130.00725.92
8.1.270.0000.00823.86
8.1.260.0000.00728.09
8.1.250.0000.00828.09
8.1.240.0090.00022.39
8.1.230.0080.00317.72
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0030.00617.23
8.1.190.0060.00317.10
8.1.180.0100.00018.10
8.1.170.0050.00318.46
8.1.160.0040.00420.87
8.1.150.0070.00018.77
8.1.140.0040.00419.45
8.1.130.0000.00717.58
8.1.120.0040.00417.27
8.1.110.0040.00417.34
8.1.100.0000.00717.32
8.1.90.0000.00717.23
8.1.80.0050.00217.37
8.1.70.0000.00717.31
8.1.60.0000.00817.41
8.1.50.0040.00417.30
8.1.40.0000.00817.43
8.1.30.0040.00417.43
8.1.20.0000.00717.55
8.1.10.0000.00817.21
8.1.00.0000.00717.19
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0070.00018.34
8.0.270.0030.00317.00
8.0.260.0030.00317.09
8.0.250.0020.00516.89
8.0.240.0000.00916.91
8.0.230.0000.00716.94
8.0.220.0020.00516.83
8.0.210.0000.00816.79
8.0.200.0030.00316.82
8.0.190.0040.00416.91
8.0.180.0040.00416.81
8.0.170.0000.00716.82
8.0.160.0040.00416.86
8.0.150.0070.00016.78
8.0.140.0030.00716.68
8.0.130.0000.00513.29
8.0.120.0050.00516.84
8.0.110.0000.00716.76
8.0.100.0080.00016.84
8.0.90.0040.00416.77
8.0.80.0100.00616.82
8.0.70.0050.00316.94
8.0.60.0000.00816.75
8.0.50.0040.00416.79
8.0.30.0110.00516.86
8.0.20.0140.00717.40
8.0.10.0030.00516.80
8.0.00.0110.00816.70
7.4.330.0000.00515.08
7.4.320.0000.00716.55
7.4.300.0060.00016.49
7.4.290.0030.00316.65
7.4.280.0070.00016.54
7.4.270.0030.00316.49
7.4.260.0020.00516.59
7.4.250.0000.00716.57
7.4.240.0070.00016.56
7.4.230.0000.00716.41
7.4.220.0030.01516.67
7.4.210.0130.00616.56
7.4.200.0030.00316.70
7.4.160.0150.00716.33
7.4.150.0120.00617.40
7.4.140.0130.01017.86
7.4.130.0100.00816.52
7.4.120.0060.01216.46
7.4.110.0070.01016.45
7.4.100.0130.00516.44
7.4.90.0080.00916.47
7.4.80.0060.00919.39
7.4.70.0030.01216.41
7.4.60.0060.01016.56
7.4.50.0030.01416.46
7.4.40.0100.01016.73
7.4.30.0080.00816.42
7.4.00.0030.00914.87
7.3.330.0030.00313.32
7.3.320.0040.00413.31
7.3.310.0070.00016.28
7.3.300.0000.00716.22
7.3.290.0070.01016.30
7.3.280.0100.01016.24
7.3.270.0100.01317.40
7.3.260.0140.00316.27
7.3.250.0100.01116.27
7.3.240.0070.01116.38
7.3.230.0140.00416.39
7.3.210.0140.00316.30
7.3.200.0060.01516.31
7.3.190.0130.00316.55
7.3.180.0090.00616.38
7.3.170.0090.00916.37
7.3.160.0100.00716.31
7.3.120.0070.01114.73
7.3.110.0070.01014.82
7.3.100.0070.01014.56
7.3.90.0020.00914.69
7.3.80.0080.00914.77
7.3.70.0040.00914.70
7.3.60.0080.00514.75
7.3.50.0080.00514.73
7.3.40.0050.00914.72
7.3.30.0070.00514.69
7.3.20.0080.00816.64
7.3.10.0100.00716.56
7.3.00.0070.01116.40
7.2.330.0110.00716.68
7.2.320.0090.00916.38
7.2.310.0030.01316.76
7.2.300.0100.00616.71
7.2.290.0080.01616.52
7.2.250.0150.00414.91
7.2.240.0050.01014.91
7.2.230.0050.01014.98
7.2.220.0030.01014.92
7.2.210.0030.01014.95
7.2.200.0050.01114.72
7.2.190.0080.00814.84
7.2.180.0060.00714.78
7.2.170.0110.00415.01
7.2.160.0030.00915.13
7.2.150.0070.01016.73
7.2.140.0110.00716.72
7.2.130.0080.01016.69
7.2.120.0080.00816.41
7.2.110.0080.01016.54
7.2.100.0070.01116.44
7.2.90.0070.01016.45
7.2.80.0080.01016.57
7.2.70.0110.01216.70
7.2.60.0080.01016.68
7.2.50.0110.00716.69
7.2.40.0130.01016.63
7.2.30.0080.01216.59
7.2.20.0110.01116.38
7.2.10.0130.00616.52
7.2.00.0080.00717.53
7.1.330.0020.01315.74
7.1.320.0060.00715.72
7.1.310.0040.00915.50
7.1.300.0060.00715.54
7.1.290.0020.01115.65
7.1.280.0050.00715.49
7.1.270.0100.00315.64
7.1.260.0060.00815.66
7.1.250.0070.00915.43
7.1.200.0030.00915.35
7.1.100.0060.00618.07
7.1.70.0000.00916.98
7.1.60.0070.01720.41
7.1.00.0030.07722.54
7.0.200.0150.00714.70
7.0.60.0030.06321.66
7.0.50.0030.08317.89
7.0.40.0300.04720.23
7.0.30.0170.05720.23
7.0.20.0200.06320.22
7.0.10.0030.07320.14
7.0.00.0130.06320.20
5.6.280.0030.06721.00
5.6.210.0030.08320.62
5.6.200.0100.07718.16
5.6.190.0230.05720.53
5.6.180.0100.07020.61
5.6.170.0130.06020.45
5.6.160.0370.05020.67
5.6.150.0270.06020.30
5.6.140.0200.06320.31
5.6.130.0200.05720.37
5.6.120.0130.06020.41
5.6.110.0100.06020.32
5.6.100.0100.06320.40
5.6.90.0200.05720.41
5.6.80.0100.06019.82
5.6.70.0130.05719.58
5.6.60.0130.05719.81
5.6.50.0470.05719.75
5.6.40.0570.03719.77
5.6.30.0430.04319.67
5.6.20.0330.05319.72
5.6.10.0330.05019.56
5.6.00.0370.05019.71
5.5.350.0330.07020.34
5.5.340.0130.07718.02
5.5.330.0200.05720.27
5.5.320.0130.07320.25
5.5.310.0130.06020.42
5.5.300.0200.06320.11
5.5.290.0170.05720.11
5.5.280.0170.05720.18
5.5.270.0200.06720.39
5.5.260.0130.06019.99
5.5.250.0070.06320.02
5.5.240.0070.06719.38
5.5.230.0030.06019.59
5.5.220.0100.05719.61
5.5.210.0500.05319.59
5.5.200.0370.04719.46
5.5.190.0530.04719.46
5.5.180.0300.05719.56
5.5.160.0370.06019.47
5.5.150.0370.05719.48
5.5.140.0400.05019.42
5.5.130.0400.05019.54
5.5.120.0300.05319.45
5.5.110.0370.05319.51
5.5.100.0400.05019.40
5.5.90.0500.05719.48
5.5.80.0370.05019.25
5.5.70.0200.06319.25
5.5.60.0300.05719.45
5.5.50.0270.06319.41
5.5.40.0270.05319.47
5.5.30.0300.06019.44
5.5.20.0200.06319.53
5.5.10.0430.04719.36
5.5.00.0370.04719.34

preferences:
90.94 ms | 1825 KiB | 5 Q