3v4l.org

run code in 300+ PHP versions simultaneously
#!/usr/bin/env php <?php /* |-------------------------------------------------------------------------- | Register The Auto Loader |-------------------------------------------------------------------------- | | Composer provides a convenient, automatically generated class loader | for our application. We just need to utilize it! We'll require it | into the script here so that we do not have to worry about the | loading of any our classes "manually". Feels great to relax. | */ require __DIR__.'/bootstrap/autoload.php'; $app = require_once __DIR__.'/bootstrap/app.php'; /* |-------------------------------------------------------------------------- | Run The Artisan Application |-------------------------------------------------------------------------- | | When we run the console application, the current CLI command will be | executed in this console and the response sent back to a terminal | or another output device for the developers. Here goes nothing! | */ $kernel = $app->make(Illuminate\Contracts\Console\Kernel::class); $status = $kernel->handle( $input = new Symfony\Component\Console\Input\ArgvInput, new Symfony\Component\Console\Output\ConsoleOutput ); /* |-------------------------------------------------------------------------- | Shutdown The Application |-------------------------------------------------------------------------- | | Once Artisan has finished running. We will fire off the shutdown events | so that any final work may be done by the application before we shut | down the process. This is the last thing to happen to the request. | */ $kernel->terminate($input, $status); exit($status);

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.0130.00716.63
8.3.60.0180.00418.37
8.3.50.0110.00616.50
8.3.40.0110.00718.96
8.3.30.0150.00018.78
8.3.20.0140.00420.34
8.3.10.0040.00421.90
8.3.00.0040.00417.78
8.2.180.0070.00718.63
8.2.170.0090.00922.96
8.2.160.0100.00320.53
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00720.95
8.2.120.0040.00426.35
8.2.110.0090.00019.10
8.2.100.0040.00818.09
8.2.90.0000.00819.23
8.2.80.0040.00417.97
8.2.70.0000.00817.75
8.2.60.0040.00417.68
8.2.50.0060.00318.10
8.2.40.0030.00620.42
8.2.30.0080.00019.29
8.2.20.0030.00618.10
8.2.10.0040.00418.10
8.2.00.0000.00718.08
8.1.280.0130.00625.92
8.1.270.0040.00423.82
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0030.00623.74
8.1.230.0090.00317.42
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0060.00317.35
8.1.190.0000.00817.23
8.1.180.0050.00318.10
8.1.170.0040.00418.49
8.1.160.0050.00218.95
8.1.150.0080.00020.50
8.1.140.0050.00319.41
8.1.130.0070.00018.87
8.1.120.0030.00317.34
8.1.110.0050.00317.33
8.1.100.0070.00017.47
8.1.90.0020.00517.35
8.1.80.0000.00717.43
8.1.70.0000.00717.38
8.1.60.0000.00817.58
8.1.50.0060.00317.55
8.1.40.0040.00417.56
8.1.30.0000.00917.73
8.1.20.0030.00617.55
8.1.10.0000.00917.56
8.1.00.0000.00717.41
8.0.300.0040.00418.77
8.0.290.0080.00016.88
8.0.280.0030.00318.53
8.0.270.0030.00517.36
8.0.260.0030.00316.98
8.0.250.0000.00717.16
8.0.240.0050.00317.12
8.0.230.0000.00717.01
8.0.220.0050.00217.05
8.0.210.0000.00817.02
8.0.200.0040.00417.11
8.0.190.0060.00317.16
8.0.180.0030.00617.09
8.0.170.0000.00717.14
8.0.160.0070.00017.09
8.0.150.0030.00517.00
8.0.140.0000.00716.93
8.0.130.0060.00013.48
8.0.120.0000.00717.06
8.0.110.0030.00616.87
8.0.100.0040.00416.88
8.0.90.0000.00716.88
8.0.80.0150.00617.03
8.0.70.0080.00016.92
8.0.60.0050.00317.11
8.0.50.0020.00516.95
8.0.30.0030.01317.24
8.0.20.0100.01117.40
8.0.10.0040.00417.11
8.0.00.0030.01316.69
7.4.330.0020.00215.55
7.4.320.0000.00616.65
7.4.300.0060.00016.63
7.4.290.0050.00216.62
7.4.280.0080.00016.68
7.4.270.0030.00316.65
7.4.260.0060.00013.36
7.4.250.0030.00516.61
7.4.240.0070.00016.70
7.4.230.0030.00316.41
7.4.220.0140.01116.65
7.4.210.0070.00816.58
7.4.200.0000.00816.72
7.4.160.0090.00716.47
7.4.150.0090.00917.40
7.4.140.0100.00817.86
7.4.130.0100.00716.71
7.4.120.0140.00716.55
7.4.110.0130.00416.70
7.4.100.0060.01516.54
7.4.90.0060.01316.34
7.4.80.0100.00719.39
7.4.70.0100.00616.57
7.4.60.0100.00616.41
7.4.50.0060.00916.49
7.4.40.0100.00716.42
7.4.30.0040.01316.65
7.4.00.0080.00815.08
7.3.330.0030.00213.03
7.3.320.0030.00313.17
7.3.310.0040.00416.21
7.3.300.0030.00316.30
7.3.290.0070.00016.22
7.3.280.0090.00816.29
7.3.270.0100.00717.40
7.3.260.0140.01316.39
7.3.250.0150.00616.23
7.3.240.0080.01116.26
7.3.230.0100.00716.48
7.3.210.0130.00316.28
7.3.200.0050.01116.29
7.3.190.0000.01716.26
7.3.180.0130.00316.37
7.3.170.0130.01016.46
7.3.160.0120.00416.38
7.3.120.0070.01114.75
7.3.110.0030.01414.84
7.3.100.0030.01014.78
7.3.90.0030.00814.79
7.3.80.0030.01014.90
7.3.70.0070.00714.92
7.3.60.0030.01014.75
7.3.50.0060.00914.75
7.3.40.0030.00714.61
7.3.30.0040.01114.85
7.3.20.0000.01416.45
7.3.10.0120.00616.69
7.3.00.0060.00616.42
7.2.330.0070.01016.63
7.2.320.0150.00416.68
7.2.310.0100.00916.40
7.2.300.0080.01716.50
7.2.290.0100.00616.47
7.2.250.0070.01014.90
7.2.240.0070.01314.65
7.2.230.0150.00014.91
7.2.220.0070.00714.89
7.2.210.0030.01415.12
7.2.200.0130.00015.02
7.2.190.0000.01014.87
7.2.180.0090.00314.72
7.2.170.0080.00414.82
7.2.60.0070.00416.71
7.2.00.0000.01419.37
7.1.330.0030.01015.65
7.1.320.0000.00915.88
7.1.310.0100.00615.76
7.1.300.0040.00715.80
7.1.290.0070.01015.70
7.1.280.0000.01415.59
7.1.270.0030.00715.71
7.1.260.0060.00615.73
7.1.200.0030.01015.63
7.1.100.0110.00717.65
7.1.70.0000.00816.73
7.1.60.0030.00717.00
7.1.50.0000.01116.89
7.1.40.0000.01116.49
7.1.30.0090.00416.35
7.1.20.0130.00016.72
7.1.10.0000.00816.45
7.1.00.0030.00516.58
7.0.200.0090.00016.42
7.0.190.0040.01116.56
7.0.180.0030.00616.18
7.0.170.0050.00216.17
7.0.160.0000.00816.14
7.0.150.0000.00816.14
7.0.140.0000.00916.30
7.0.130.0030.00616.21
7.0.120.0060.00616.34
7.0.110.0000.00916.18
7.0.100.0050.00516.34
7.0.90.0050.00516.30
7.0.80.0000.00716.13
7.0.70.0000.00916.27
7.0.60.0000.01115.98
7.0.50.0020.00716.22
7.0.40.0000.01014.70
7.0.30.0000.01114.70
7.0.20.0000.01114.70
7.0.10.0070.00514.70
7.0.00.0050.00514.70

preferences:
43.55 ms | 401 KiB | 5 Q