3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { static function __callStatic($name, $arguments) { if ($name === 'get') { if (!isset($arguments[0])) { var_dump(['getSomeWhat']); var_dump($arguments); exit; } } echo 'OK'; } protected function get ($key) { // BUG!!! } } class Bar { static function __callStatic($name, $arguments) { echo Foo::get('getSomeWhat'); } } Bar::someUndefinedStaticFunction();

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.70.0040.01116.58
8.3.60.0150.00618.27
8.3.50.0150.00018.19
8.3.40.0110.00718.74
8.3.30.0070.01318.54
8.3.20.0030.00520.73
8.3.10.0070.00023.66
8.3.00.0080.00023.47
8.2.190.0140.00016.58
8.2.180.0130.00625.92
8.2.170.0070.01519.02
8.2.160.0030.01022.14
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0000.00822.08
8.2.120.0040.00426.35
8.2.110.0090.00920.47
8.2.100.0040.00817.91
8.2.90.0050.00317.97
8.2.80.0050.00318.04
8.2.70.0040.00417.93
8.2.60.0000.00818.22
8.2.50.0060.00318.10
8.2.40.0060.00319.13
8.2.30.0070.00019.28
8.2.20.0040.00417.93
8.2.10.0040.00419.11
8.2.00.0040.00419.46
8.1.280.0110.00725.92
8.1.270.0000.00823.88
8.1.260.0120.00326.35
8.1.250.0080.00028.09
8.1.240.0090.00022.54
8.1.230.0110.00021.10
8.1.220.0080.00017.74
8.1.210.0050.00318.97
8.1.200.0000.00917.35
8.1.190.0050.00317.23
8.1.180.0030.00618.10
8.1.170.0050.00318.59
8.1.160.0080.00018.84
8.1.150.0070.00018.80
8.1.140.0000.00722.04
8.1.130.0000.00820.13
8.1.120.0000.00717.50
8.1.110.0000.00717.40
8.1.100.0130.00217.21
8.1.90.0050.00517.38
8.1.80.0080.00017.39
8.1.70.0050.00317.39
8.1.60.0050.00317.51
8.1.50.0040.00417.50
8.1.40.0040.00417.46
8.1.30.0000.00817.63
8.1.20.0000.00717.57
8.1.10.0040.00417.55
8.1.00.0000.00717.42
8.0.300.0050.00319.88
8.0.290.0030.00616.75
8.0.280.0070.00018.34
8.0.270.0040.00416.74
8.0.260.0040.00418.38
8.0.250.0080.00016.98
8.0.240.0030.00516.93
8.0.230.0000.00716.91
8.0.220.0030.00416.80
8.0.210.0070.00016.89
8.0.200.0000.00716.83
8.0.190.0050.00216.94
8.0.180.0040.00416.76
8.0.170.0090.00016.91
8.0.160.0000.00716.72
8.0.150.0000.00716.79
8.0.140.0000.00916.78
8.0.130.0000.00513.20
8.0.120.0040.00416.77
8.0.110.0040.00416.71
8.0.100.0030.00316.88
8.0.90.0040.00416.71
8.0.80.0040.01116.80
8.0.70.0030.00516.71
8.0.60.0000.00716.71
8.0.50.0040.00416.82
8.0.30.0090.01016.96
8.0.20.0110.00717.40
8.0.10.0030.00516.80
8.0.00.0100.00716.74
7.4.330.0060.00016.84
7.4.320.0060.00016.51
7.4.300.0030.00316.59
7.4.290.0000.00716.64
7.4.280.0030.00316.54
7.4.270.0000.00716.51
7.4.260.0090.00016.43
7.4.250.0030.00316.60
7.4.240.0000.00716.41
7.4.230.0040.00416.49
7.4.220.0030.00616.52
7.4.210.0120.00316.49
7.4.200.0070.00016.55
7.4.160.0070.00916.54
7.4.140.0120.00917.86
7.4.130.0070.01116.55
7.4.120.0070.01016.44
7.4.110.0100.00716.50
7.4.100.0170.00716.47
7.4.90.0100.00716.49
7.4.80.0140.00319.39
7.4.70.0030.01516.64
7.4.60.0050.01016.57
7.4.50.0030.00916.31
7.4.40.0120.00616.62
7.4.00.0040.01215.03
7.3.330.0000.00513.31
7.3.320.0050.00013.16
7.3.310.0040.00416.34
7.3.300.0040.00416.31
7.3.290.0030.01016.34
7.3.280.0110.00416.30
7.3.260.0070.01316.34
7.3.240.0150.00516.34
7.3.230.0100.00916.32
7.3.210.0070.01316.28
7.3.200.0160.00016.44
7.3.190.0130.00316.28
7.3.180.0120.00916.59
7.3.170.0160.00716.33
7.3.160.0080.01016.29
7.3.120.0060.00914.80
7.3.110.0000.01715.02
7.3.100.0040.01115.00
7.3.90.0000.01214.81
7.3.80.0080.00314.58
7.3.70.0090.00614.78
7.3.60.0030.00914.73
7.3.50.0040.01414.65
7.3.40.0080.00314.75
7.3.30.0090.00314.69
7.3.20.0230.00715.92
7.3.10.0220.01216.09
7.3.00.0410.00715.47
7.2.330.0140.00416.35
7.2.320.0110.00716.58
7.2.310.0160.00016.74
7.2.300.0030.01316.48
7.2.290.0100.01016.40
7.2.250.0090.00915.26
7.2.240.0030.01714.81
7.2.230.0060.00615.07
7.2.220.0000.01714.92
7.2.210.0070.00615.00
7.2.200.0070.01014.71
7.2.190.0090.00615.15
7.2.180.0000.01414.68
7.2.170.0000.01515.00
7.2.160.0040.01414.84
7.2.150.0340.00816.00
7.2.140.0280.00515.97
7.2.130.0330.00715.34
7.2.120.0360.00615.56
7.2.110.0340.00515.46
7.2.100.0370.00715.48
7.2.90.0480.00715.40
7.2.80.0430.00615.50
7.2.70.0320.00615.27
7.2.60.0510.00715.47
7.2.50.0310.00715.56
7.2.40.0250.00815.45
7.2.30.0310.00715.54
7.2.20.0360.00515.54
7.2.10.0360.00815.51
7.2.00.0300.00715.49
7.1.330.0070.00715.80
7.1.320.0030.00715.73
7.1.310.0040.01115.94
7.1.300.0070.00715.70
7.1.290.0060.00615.55
7.1.280.0030.01015.83
7.1.270.0380.00714.71
7.1.260.0340.00314.85
7.1.250.0310.00714.38
7.0.330.0460.00613.93
5.6.400.0160.01614.30
5.6.390.0210.00714.20
5.6.380.0100.00614.12

preferences:
40.73 ms | 401 KiB | 5 Q