3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { static function __callStatic(string $f, array $args) { print 'C::' . $f . '(...'; var_export($args); print ")\n"; } } ['C', 'foo'](5); var_export(is_callable(['C', 'foo']));

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.120.0110.00622.09
8.4.110.0110.00922.49
8.4.100.0120.00717.68
8.4.90.0080.01217.48
8.4.80.0070.00117.59
8.4.70.0130.00817.70
8.4.60.0120.01018.89
8.4.50.0030.00718.61
8.4.40.0160.00718.74
8.4.30.0060.01218.99
8.4.20.0120.00419.69
8.4.10.0040.00419.46
8.3.250.0060.00218.88
8.3.240.0050.00516.56
8.3.230.0060.01316.58
8.3.220.0030.00517.40
8.3.210.0090.00916.44
8.3.200.0080.00216.46
8.3.190.0130.00716.66
8.3.180.0030.00516.49
8.3.170.0120.00620.72
8.3.160.0160.00317.08
8.3.150.0040.00417.23
8.3.140.0150.00417.11
8.3.130.0000.00818.53
8.3.120.0060.00318.89
8.3.110.0000.01520.94
8.3.100.0030.00624.06
8.3.90.0000.00826.77
8.3.80.0030.00617.97
8.3.70.0140.00416.37
8.3.60.0150.00416.32
8.3.50.0080.00816.71
8.3.40.0240.01417.50
8.3.30.0300.00917.25
8.3.20.0250.01417.25
8.3.10.0340.00417.25
8.3.00.0290.00617.25
8.2.290.0140.00618.58
8.2.280.0090.00818.59
8.2.270.0110.00417.11
8.2.260.0050.00318.04
8.2.250.0100.00018.58
8.2.240.0090.00917.32
8.2.230.0000.01122.58
8.2.220.0070.01037.54
8.2.210.0040.00426.77
8.2.200.0040.00416.63
8.2.190.0080.00816.75
8.2.180.0060.00918.29
8.2.170.0300.00717.50
8.2.160.0360.00917.50
8.2.150.0390.00417.61
8.2.140.0390.00617.38
8.2.130.0390.00617.13
8.2.120.0280.00917.35
8.2.110.0430.00317.13
8.2.100.0270.00817.25
8.2.90.0340.00717.38
8.2.80.0360.00717.38
8.2.70.0390.00417.38
8.2.60.0270.01517.38
8.2.50.0360.00317.47
8.2.40.0420.00617.25
8.2.30.0360.01017.38
8.2.20.0250.00617.37
8.2.10.0250.00617.25
8.2.00.0200.01017.25
8.1.330.0140.00621.95
8.1.320.0040.00616.13
8.1.310.0060.01218.13
8.1.300.0030.00619.50
8.1.290.0060.00330.84
8.1.280.0120.00625.92
8.1.270.0360.00717.38
8.1.260.0410.00717.23
8.1.250.0380.00717.11
8.1.240.0350.00417.13
8.1.230.0230.01117.23
8.1.220.0210.00917.10
8.1.210.0320.00817.13
8.1.200.0350.00317.09
8.1.190.0300.00816.84
8.1.180.0280.01017.00
8.1.170.0300.00417.34
8.1.160.0300.00317.00
8.1.150.0290.01317.10
8.1.140.0300.00917.00
8.1.130.0330.00716.98
8.1.120.0330.00617.22
8.1.110.0270.00817.22
8.1.100.0250.00917.25
8.1.90.0310.00617.10
8.1.80.0170.01417.35
8.1.70.0260.01316.98
8.1.60.0380.00817.23
8.1.50.0220.01317.22
8.1.40.0260.00717.38
8.1.30.0390.00617.35
8.1.20.0430.00417.13
8.1.10.0460.00417.35
8.1.00.0450.00617.22

preferences:
52.79 ms | 403 KiB | 5 Q