3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Copied from tests/_support/Commands/Foobar.php $template = "<?php use Config\App; use CodeIgniter\CLI\CLI; return [ 'foo' => 'The command will use this as foo.', 'bar' => 'The command will use this as bar.', 'baz' => 'The baz is here.', 'bas' => CLI::color('bas', 'green') . (new App())->baseURL, ]; "; preg_match( '/(?P<imports>(?:^use [^;]+;$\n?)+)/m', $template, $match ); var_dump($match); // empty 'imports'

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.130.0060.00318.40
8.3.120.0110.00720.46
8.3.110.0040.00420.94
8.3.100.0320.00337.54
8.3.90.0340.01137.54
8.3.80.0370.01037.54
8.3.70.0300.01137.54
8.3.60.0440.00637.54
8.3.50.0380.01037.54
8.3.40.0280.00837.54
8.3.30.0290.00837.54
8.3.20.0160.01637.54
8.3.10.0260.00637.54
8.3.00.0170.00637.54
8.2.250.0100.01018.73
8.2.240.0100.00017.44
8.2.230.0090.00622.58
8.2.220.0250.00937.54
8.2.210.0390.00037.54
8.2.200.0330.01037.54
8.2.190.0300.00737.54
8.2.180.0290.00637.54
8.2.170.0400.00337.54
8.2.160.0310.01437.54
8.2.150.0440.00037.54
8.2.140.0380.00737.54
8.2.130.0280.00937.54
8.2.120.0280.00837.54
8.2.110.0210.00437.54
8.2.100.0330.01137.54
8.2.90.0330.00337.54
8.2.80.0180.00337.54
8.2.70.0210.00037.54
8.2.60.0290.00037.54
8.2.50.0090.01237.54
8.2.40.0110.00737.54
8.2.30.0180.00537.54
8.2.20.0230.02037.54
8.2.10.0220.00437.54
8.2.00.0380.00337.54
8.1.300.0030.00618.28
8.1.290.0390.00637.54
8.1.280.0350.00737.54
8.1.270.0280.00737.54
8.1.260.0440.00037.54
8.1.250.0430.01137.54
8.1.240.0330.00937.54
8.1.230.0250.01437.54
8.1.220.0350.00537.54
8.1.210.0340.01137.54
8.1.200.0230.00837.54
8.1.190.0300.00837.54
8.1.180.0310.00837.54
8.1.170.0280.01137.54
8.1.160.0360.00437.54
8.1.150.0330.00637.54
8.1.140.0290.01037.54
8.1.130.0420.00037.54
8.1.120.0320.00937.54
8.1.110.0330.00637.54
8.1.100.0280.01037.54
8.1.90.0330.00637.54
8.1.80.0310.00437.54
8.1.70.0350.00437.54
8.1.60.0370.00637.54
8.1.50.0320.00437.54
8.1.40.0200.00037.54
8.1.30.0380.00537.54
8.1.20.0080.01237.54
8.1.10.0310.00737.54
8.1.00.0190.00037.54

preferences:
24.42 ms | 403 KiB | 5 Q