3v4l.org

run code in 300+ PHP versions simultaneously
<?php class BaseExample { public static function __callStatic($name, array $arguments) { echo "Calling static method '$name' \n"; } public function __call($name, array $arguments) { echo "Calling object method '$name' \n"; } } class Example extends BaseExample { public function __construct() { BaseExample::test(); Example::test(); static::test(); $this->test(); } } $u = new Example();

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.0140.00418.57
8.3.30.0140.00318.96
8.3.20.0080.00020.21
8.3.10.0040.00423.61
8.3.00.0070.00019.07
8.2.170.0070.00722.96
8.2.160.0100.00320.39
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0160.00420.81
8.2.110.0090.00019.31
8.2.100.0060.00617.91
8.2.90.0000.00819.13
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0050.00317.93
8.2.50.0000.00818.10
8.2.40.0030.00618.16
8.2.30.0040.00418.12
8.2.20.0030.00617.67
8.2.10.0040.00417.93
8.2.00.0000.00917.59
8.1.270.0040.00423.91
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0090.00019.21
8.1.230.0100.00017.54
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0080.00017.35
8.1.190.0060.00317.10
8.1.180.0080.00018.10
8.1.170.0000.00818.52
8.1.160.0040.00421.89
8.1.150.0070.00018.57
8.1.140.0020.00517.30
8.1.130.0070.00017.80
8.1.120.0000.00717.30
8.1.110.0040.00417.39
8.1.100.0020.00517.45
8.1.90.0000.00717.38
8.1.80.0050.00317.31
8.1.70.0000.00817.39
8.1.60.0040.00417.53
8.1.50.0040.00417.53
8.1.40.0040.00417.52
8.1.30.0000.00817.68
8.1.20.0000.00817.68
8.1.10.0020.00517.46
8.1.00.0040.00417.36
8.0.300.0020.00518.77
8.0.290.0090.00016.75
8.0.280.0000.00718.37
8.0.270.0000.00717.30
8.0.260.0040.00417.18
8.0.250.0030.00316.94
8.0.240.0000.00716.92
8.0.230.0070.00016.99
8.0.220.0070.00016.89
8.0.210.0000.00716.79
8.0.200.0060.00316.81
8.0.190.0070.00016.85
8.0.180.0070.00316.82
8.0.170.0040.00416.87
8.0.160.0040.00316.95
8.0.150.0030.00616.83
8.0.140.0050.00316.75
8.0.130.0050.00013.28
8.0.120.0050.00316.75
8.0.110.0040.00416.79
8.0.100.0040.00416.71
8.0.90.0000.00816.70
8.0.80.0100.00516.92
8.0.70.0040.00416.92
8.0.60.0070.00016.68
8.0.50.0020.00516.95
8.0.30.0110.00817.13
8.0.20.0090.00917.40
8.0.10.0050.00216.77
8.0.00.0130.00716.78
7.4.330.0020.00215.00
7.4.320.0000.00716.36
7.4.300.0030.00316.39
7.4.290.0030.00316.57
7.4.280.0000.00816.39
7.4.270.0000.00716.60
7.4.260.0030.00316.57
7.4.250.0040.00416.47
7.4.240.0050.00216.44
7.4.230.0030.00316.62
7.4.220.0180.00416.66
7.4.210.0060.00916.52
7.4.200.0070.00016.62
7.4.190.0030.00316.39
7.4.160.0160.00016.43
7.4.150.0140.00417.40
7.4.140.0100.00817.86
7.4.130.0120.00516.58
7.4.120.0100.00816.40
7.4.110.0060.01316.49
7.4.100.0070.01016.44
7.4.90.0140.00316.46
7.4.80.0090.01019.39
7.4.70.0030.01316.59
7.4.60.0070.01416.39
7.4.50.0000.00816.52
7.4.40.0130.00416.51
7.4.30.0110.00716.59
7.4.10.0090.00914.70
7.4.00.0050.01014.95
7.3.330.0000.00613.16
7.3.320.0000.00613.04
7.3.310.0040.00416.16
7.3.300.0040.00216.29
7.3.290.0030.01616.30
7.3.280.0080.01216.32
7.3.270.0030.01517.40
7.3.260.0140.00316.44
7.3.250.0100.01116.43
7.3.240.0030.01616.28
7.3.230.0100.00716.39
7.3.210.0060.01116.40
7.3.200.0090.00919.39
7.3.190.0070.01016.47
7.3.180.0120.00416.29
7.3.170.0070.01016.34
7.3.160.0060.00916.21
7.3.130.0110.00414.80
7.3.120.0070.00914.76
7.3.110.0090.00914.88
7.3.100.0060.01014.62
7.3.90.0050.00814.66
7.3.80.0050.00514.71
7.3.70.0070.01014.83
7.3.60.0000.00914.82
7.3.50.0030.01014.72
7.3.40.0110.00314.64
7.3.30.0100.00614.81
7.3.20.0000.01416.65
7.3.10.0030.01116.57
7.3.00.0060.00616.47
7.2.330.0110.01116.79
7.2.320.0130.01016.63
7.2.310.0030.01216.73
7.2.300.0090.01316.78
7.2.290.0090.01216.38
7.2.260.0040.01114.76
7.2.250.0070.01114.59
7.2.240.0120.00315.16
7.2.230.0100.00714.91
7.2.220.0120.00614.91
7.2.210.0100.00714.60
7.2.200.0030.01415.03
7.2.190.0070.00714.64
7.2.180.0100.00315.16
7.2.170.0000.01114.86
7.2.160.0070.01315.00
7.2.150.0030.01316.93
7.2.140.0030.00616.91
7.2.130.0060.00616.72
7.2.120.0080.00516.61
7.2.110.0020.01316.79
7.2.100.0070.01016.64
7.2.90.0110.00216.91
7.2.80.0090.00416.76
7.2.70.0100.00616.86
7.2.60.0080.00516.69
7.2.50.0060.00816.99
7.2.40.0080.00716.80
7.2.30.0120.00616.77
7.2.20.0060.00716.77
7.2.10.0060.00916.63
7.2.00.0080.00617.85
7.1.330.0090.00315.91
7.1.320.0120.00315.83
7.1.310.0000.01315.91
7.1.300.0120.00315.34
7.1.290.0060.00315.58
7.1.280.0040.01515.70
7.1.270.0040.01115.88
7.1.260.0030.00915.63
7.1.250.0050.00815.57
7.1.240.0100.00315.55
7.1.230.0040.00815.66
7.1.220.0080.00615.82
7.1.210.0090.00415.70
7.1.200.0060.00415.70
7.1.190.0090.00615.59
7.1.180.0060.01015.58
7.1.170.0070.01015.44
7.1.160.0040.01115.74
7.1.150.0030.01015.76
7.1.140.0060.00615.64
7.1.130.0100.00615.87
7.1.120.0040.01215.43
7.1.110.0040.00815.55
7.1.100.0080.00716.90
7.1.90.0060.01015.65
7.1.80.0070.00415.74
7.1.70.0060.00416.45
7.1.60.0120.01017.73
7.1.50.0080.01216.17
7.1.40.0030.00915.71
7.1.30.0070.00715.71
7.1.20.0090.00615.61
7.1.10.0030.00715.66
7.1.00.0080.03718.98
7.0.330.0070.00415.23
7.0.320.0080.00615.25
7.0.310.0070.00715.18
7.0.300.0030.01015.37
7.0.290.0030.00615.18
7.0.280.0040.00415.51
7.0.270.0050.00515.29
7.0.260.0060.00915.34
7.0.250.0070.01015.36
7.0.240.0080.00015.54
7.0.230.0130.00315.12
7.0.220.0030.00915.29
7.0.210.0030.01115.14
7.0.200.0060.00515.84
7.0.190.0110.00415.38
7.0.180.0030.00915.55
7.0.170.0100.00015.55
7.0.160.0060.00615.52
7.0.150.0060.00315.31
7.0.140.0050.03818.66
7.0.130.0030.00915.44
7.0.120.0030.00715.43
7.0.110.0030.01015.32
7.0.100.0130.03017.65
7.0.90.0050.02817.41
7.0.80.0130.04217.56
7.0.70.0110.04817.73
7.0.60.0100.04417.64
7.0.50.0090.02917.65
7.0.40.0060.04916.79
7.0.30.0090.03916.75
7.0.20.0050.04416.66
7.0.10.0050.02316.83
7.0.00.0060.02216.78
5.6.400.0040.00714.23
5.6.390.0030.01014.52
5.6.380.0000.00914.11
5.6.370.0000.00914.67
5.6.360.0030.01013.98
5.6.350.0000.01014.23
5.6.340.0100.00314.19
5.6.330.0000.01014.21
5.6.320.0060.01214.55
5.6.310.0080.01114.47
5.6.300.0040.00714.25
5.6.290.0050.00514.27
5.6.280.0080.03717.76
5.6.270.0030.00814.21
5.6.260.0110.00414.31
5.6.250.0020.03017.50
5.6.240.0050.03817.39
5.6.230.0050.04417.38
5.6.220.0050.04117.50
5.6.210.0030.04217.49
5.6.200.0000.04417.55
5.6.190.0080.04017.64
5.6.180.0100.03817.57
5.6.170.0070.02217.60
5.6.160.0070.04417.82
5.6.150.0030.04017.66
5.6.140.0090.02017.68
5.6.130.0050.02517.64
5.6.120.0070.04717.82
5.6.110.0110.03417.80
5.6.100.0100.03017.70
5.6.90.0080.04917.58
5.6.80.0050.02417.25
5.6.70.0080.04017.47
5.6.60.0100.04117.28
5.6.50.0120.01517.35
5.6.40.0070.04317.44
5.6.30.0030.04317.29
5.6.20.0080.02117.35
5.6.10.0030.04017.36
5.6.00.0100.03217.41
5.5.380.0100.03517.43
5.5.370.0060.03417.46
5.5.360.0080.04117.23
5.5.350.0020.05017.29
5.5.340.0070.04017.42
5.5.330.0060.04517.48
5.5.320.0090.02417.56
5.5.310.0080.03317.66
5.5.300.0050.03317.45
5.5.290.0020.03917.58
5.5.280.0050.04617.38
5.5.270.0120.03917.64
5.5.260.0050.04517.46
5.5.250.0060.02617.40
5.5.240.0080.01917.01
5.5.230.0000.02617.11
5.5.220.0050.03917.24
5.5.210.0070.02217.16
5.5.200.0020.04417.05
5.5.190.0100.03917.20
5.5.180.0040.04517.17
5.5.170.0000.01114.19
5.5.160.0110.04017.03
5.5.150.0080.02217.14
5.5.140.0050.02816.91
5.5.130.0070.04417.29
5.5.120.0040.03317.15
5.5.110.0080.04017.17
5.5.100.0100.03517.19
5.5.90.0100.02817.01
5.5.80.0070.03717.11
5.5.70.0100.03317.20
5.5.60.0060.03217.05
5.5.50.0170.03317.22
5.5.40.0030.04517.07
5.5.30.0100.02517.13
5.5.20.0100.03817.03
5.5.10.0110.03617.09
5.5.00.0110.03717.15
5.4.450.0020.02415.70
5.4.440.0030.04115.67
5.4.430.0110.03515.60
5.4.420.0030.04115.59
5.4.410.0030.02015.53
5.4.400.0050.02815.48
5.4.390.0030.03515.44
5.4.380.0090.03015.43
5.4.370.0120.03315.48
5.4.360.0000.05115.51
5.4.350.0080.02515.47
5.4.340.0090.03815.34
5.4.330.0090.00311.82
5.4.320.0050.03515.47
5.4.310.0120.03715.44
5.4.300.0020.02915.47
5.4.290.0100.01715.44
5.4.280.0080.02315.43
5.4.270.0070.01915.43
5.4.260.0050.04015.38
5.4.250.0050.03515.50
5.4.240.0090.03915.44
5.4.230.0090.04015.43
5.4.220.0080.03215.43
5.4.210.0080.03715.48
5.4.200.0050.03215.43
5.4.190.0020.04315.53
5.4.180.0060.04015.35
5.4.170.0040.03715.39
5.4.160.0050.02515.35
5.4.150.0040.02615.42
5.4.140.0070.03314.01
5.4.130.0050.03814.11
5.4.120.0100.02514.11
5.4.110.0030.04414.17
5.4.100.0030.02014.17
5.4.90.0140.03014.15
5.4.80.0030.03814.19
5.4.70.0030.03714.19
5.4.60.0030.03214.14
5.4.50.0070.03714.08
5.4.40.0050.03414.06
5.4.30.0070.03714.13
5.4.20.0030.03814.06
5.4.10.0080.03514.15
5.4.00.0030.03913.88
5.3.290.0090.04113.31
5.3.280.0020.04313.22
5.3.270.0030.03813.21
5.3.260.0020.02613.25
5.3.250.0060.03913.21
5.3.240.0020.04113.25
5.3.230.0060.03913.23
5.3.220.0060.03513.19
5.3.210.0050.02713.23
5.3.200.0020.03513.19
5.3.190.0000.04513.21
5.3.180.0040.03313.21
5.3.170.0080.03813.23
5.3.160.0020.04313.17
5.3.150.0050.03313.15
5.3.140.0030.03913.25
5.3.130.0100.03513.15
5.3.120.0090.03113.21
5.3.110.0070.04013.20
5.3.100.0000.04212.94
5.3.90.0000.02612.92
5.3.80.0030.04312.90
5.3.70.0050.04212.93
5.3.60.0030.04012.94
5.3.50.0070.02712.96
5.3.40.0030.04212.96
5.3.30.0020.04312.82
5.3.20.0050.02912.79
5.3.10.0050.04412.71
5.3.00.0030.03612.76
5.2.170.0100.06312.18
5.2.160.0100.05012.18
5.2.150.0030.05712.18
5.2.140.0030.07012.18
5.2.130.0130.04012.18
5.2.120.0100.02712.18
5.2.110.0070.06312.18
5.2.100.0100.02712.18
5.2.90.0030.03312.18
5.2.80.0070.06012.18
5.2.70.0100.06012.18
5.2.60.0070.04712.18
5.2.50.0130.04712.18
5.2.40.0070.06012.18
5.2.30.0070.05312.18
5.2.20.0070.06312.18
5.2.10.0030.06012.18
5.2.00.0100.05312.18
5.1.60.0070.03712.18
5.1.50.0000.04712.18
5.1.40.0000.05712.18
5.1.30.0070.05012.18
5.1.20.0000.03712.18
5.1.10.0070.04712.18
5.1.00.0100.04312.18
5.0.50.0030.05012.18
5.0.40.0070.04312.18
5.0.30.0130.05312.18
5.0.20.0070.03012.18
5.0.10.0000.04012.18
5.0.00.0100.05712.18
4.4.90.0000.03712.18
4.4.80.0000.02712.18
4.4.70.0030.03312.18
4.4.60.0100.03012.18
4.4.50.0070.03012.18
4.4.40.0070.04712.18
4.4.30.0000.04012.18
4.4.20.0000.03712.18
4.4.10.0100.03012.18
4.4.00.0030.03712.18
4.3.110.0070.02712.18
4.3.100.0030.03712.18
4.3.90.0000.03312.18
4.3.80.0070.02712.18
4.3.70.0000.03012.18
4.3.60.0070.03012.18
4.3.50.0100.01012.18
4.3.40.0030.05012.18
4.3.30.0000.03712.18
4.3.20.0100.03012.18
4.3.10.0000.03712.18
4.3.00.0000.03712.18

preferences:
44.28 ms | 400 KiB | 5 Q