3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function newQuery() { var_dump('native', 'newQuery'); } public function __call($name, $args) { var_dump('__call', $name); } public static function __callStatic($name, $args) { var_dump('__callStatic', $name); } } $foo = new Foo(); $foo::newQuery(); var_dump('----'); Foo::newQuery();

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.4.140.0170.00917.95
8.4.130.0120.00318.59
8.4.120.0100.00920.36
8.4.110.0140.00718.60
8.4.100.0120.00818.74
8.4.90.0130.00620.52
8.4.80.0140.00419.18
8.4.70.0090.00718.86
8.4.60.0090.01120.75
8.4.50.0140.00518.86
8.4.40.0130.00719.55
8.4.30.0150.00420.32
8.4.20.0130.00618.63
8.4.10.0140.00719.29
8.3.270.0090.01016.59
8.3.260.0050.00416.71
8.3.250.0080.01016.98
8.3.240.0120.00716.64
8.3.230.0130.00716.51
8.3.220.0110.00719.09
8.3.210.0100.00916.52
8.3.200.0050.00416.66
8.3.190.0110.01117.07
8.3.180.0100.00818.78
8.3.170.0090.00616.83
8.3.160.0090.00917.09
8.3.150.0090.00617.26
8.3.140.0040.01119.03
8.3.130.0060.00318.24
8.3.120.0090.00018.94
8.3.110.0120.00920.94
8.3.100.0000.00824.06
8.3.90.0030.00526.77
8.3.80.0030.00616.50
8.3.70.0040.01216.75
8.3.60.0170.00316.50
8.3.50.0030.01016.35
8.3.40.0060.00918.76
8.3.30.0120.00318.51
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0040.00426.16
8.2.290.0110.00820.64
8.2.280.0040.00518.81
8.2.270.0130.00616.99
8.2.260.0050.00316.61
8.2.250.0040.00416.68
8.2.240.0060.01218.79
8.2.230.0030.00622.58
8.2.220.0060.00337.54
8.2.210.0100.00326.77
8.2.200.0050.00516.88
8.2.190.0040.01216.58
8.2.180.0100.00625.92
8.2.170.0140.00319.08
8.2.160.0080.00622.96
8.2.150.0070.00025.66
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0040.00426.35
8.2.110.0040.00720.51
8.2.100.0090.00317.78
8.2.90.0030.00517.75
8.2.80.0060.00318.73
8.2.70.0040.00417.50
8.2.60.0080.00017.91
8.2.50.0040.00418.05
8.2.40.0060.00618.21
8.2.30.0040.00417.91
8.2.20.0050.00318.05
8.2.10.0000.00719.18
8.2.00.0040.00419.18
8.1.330.0280.00616.17
8.1.320.0160.00816.10
8.1.310.0050.00316.14
8.1.300.0090.00618.51
8.1.290.0060.00330.84
8.1.280.0070.00725.92
8.1.270.0000.00823.99
8.1.260.0140.00028.09
8.1.250.0070.00028.09
8.1.240.0040.00418.98
8.1.230.0110.00017.64
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0040.00417.23
8.1.190.0040.00417.13
8.1.180.0030.00718.10
8.1.170.0040.00418.49
8.1.160.0070.00019.00
8.1.150.0040.00318.93
8.1.140.0040.00418.83
8.1.130.0000.00720.13
8.1.120.0100.00017.40
8.1.110.0040.00417.35
8.1.100.0000.00717.39
8.1.90.0040.00417.31
8.1.80.0030.00617.29
8.1.70.0050.00317.37
8.1.60.0000.00917.59
8.1.50.0040.00417.52
8.1.40.0050.00317.45
8.1.30.0000.00717.64
8.1.20.0040.00417.52
8.1.10.0000.00717.59
8.1.00.0030.00517.50
8.0.300.0030.00618.77
8.0.290.0070.00016.75
8.0.280.0070.00018.38
8.0.270.0030.00318.00
8.0.260.0060.00018.38
8.0.250.0000.00716.95
8.0.240.0050.00216.95
8.0.230.0000.00716.83
8.0.220.0000.00716.80
8.0.210.0040.00416.86
8.0.200.0070.00016.88
8.0.190.0040.00416.95
8.0.180.0040.00416.80
8.0.170.0060.00316.91
8.0.160.0070.00016.88
8.0.150.0040.00416.82
8.0.140.0000.00816.73
8.0.130.0060.00013.25
8.0.120.0000.00816.75
8.0.110.0030.00516.93
8.0.100.0000.00816.88
8.0.90.0040.00416.80
8.0.80.0080.00816.78
8.0.70.0040.00416.68
8.0.60.0040.00416.75
8.0.50.0050.00316.94
8.0.30.0070.01016.84
8.0.20.0040.01217.00
8.0.10.0060.01016.97
8.0.00.0080.00816.97
7.4.330.0000.00415.55
7.4.320.0030.00316.53
7.4.300.0000.00716.45
7.4.290.0030.00316.43
7.4.280.0040.00416.63
7.4.270.0030.00316.48
7.4.260.0000.00613.25
7.4.250.0030.00316.35
7.4.240.0070.00016.39
7.4.230.0030.00316.31
7.4.220.0020.00516.48
7.4.210.0080.00816.53
7.4.200.0000.00716.63
7.4.160.0060.00916.66
7.4.150.0030.01316.53
7.4.140.0070.01116.47
7.4.130.0000.01516.61
7.4.120.0150.00616.52
7.4.110.0120.00416.42
7.4.100.0140.00616.54
7.4.90.0030.01316.53
7.4.80.0040.01816.39
7.4.70.0080.01616.48
7.4.60.0080.01316.37
7.4.50.0130.00616.47
7.4.40.0140.00616.47
7.4.30.0110.01016.44
7.4.20.0120.00316.39
7.4.10.0030.01416.41
7.4.00.0090.00616.63
7.3.330.0000.00716.47
7.3.320.0060.00013.13
7.3.310.0040.00416.33
7.3.300.0000.00616.36
7.3.290.0080.00916.31
7.3.270.0140.00316.31
7.3.260.0060.00916.31
7.3.250.0100.00516.34
7.3.240.0050.01016.42
7.3.230.0070.00716.36
7.3.220.0060.01216.29
7.3.210.0040.01116.27
7.3.200.0070.01416.26
7.3.190.0090.00916.36
7.3.180.0030.01916.22
7.3.170.0160.00616.30
7.3.160.0120.00916.26
7.3.150.0070.01016.28
7.3.140.0100.00716.30
7.3.130.0070.00716.31
7.3.120.0030.01816.25
7.3.110.0060.01616.20
7.3.100.0060.01316.23
7.3.90.0130.00316.57
7.3.80.0030.01216.18
7.3.70.0090.00616.36
7.3.60.0130.00316.33
7.3.50.0060.00916.31
7.3.40.0180.00016.27
7.3.30.0060.00916.41
7.3.20.0090.00916.34
7.3.10.0260.00316.33
7.3.00.0060.01216.35

preferences:
29.96 ms | 403 KiB | 5 Q