3v4l.org

run code in 500+ PHP versions simultaneously
<?php declare(strict_types=1); function handle(int $severity, string $message, string $file, int $line) : bool{ if((error_reporting() & $severity) !== 0){ throw new \ErrorException($message, 0, $severity, $file, $line); } return true; //stfu operator } set_error_handler('handle'); function getPlugin(string $plugin) : bool{ return false; } $data = []; $array = []; if(isset($array[$data]) or getPlugin($data)){ }

Abusive script

This script was stopped while abusing our resources

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.110.0070.00720.94
8.3.100.0000.00924.06
8.3.90.0040.01126.77
8.3.80.0030.00716.88
8.3.70.0100.01018.23
8.3.60.0090.00618.56
8.3.50.0090.00924.35
8.3.40.0000.01418.84
8.3.30.0090.00618.41
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.230.0050.00522.58
8.2.220.0000.00837.54
8.2.210.0000.00826.77
8.2.200.0070.00316.75
8.2.190.0140.00416.63
8.2.180.0160.00725.92
8.2.170.0100.00718.91
8.2.160.0120.00322.96
8.2.150.0000.00825.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00421.18
8.2.110.0070.00319.35
8.1.290.0060.00318.88
8.1.280.0070.00725.92
8.1.270.0030.00622.02
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0030.00619.14
8.0.30.0120.01616.90
8.0.20.0100.01217.12
8.0.10.0140.00917.07
8.0.00.0120.01117.11
7.4.160.0841.90616.45
7.4.150.0271.97516.37
7.4.140.0351.95716.50
7.4.130.0451.80416.41
7.4.120.0311.96316.42
7.4.110.0341.96616.41
7.4.100.0341.85416.44
7.4.90.0371.74616.44
7.4.80.0341.68816.54
7.4.70.0311.81516.39
7.4.60.0281.97016.45
7.4.50.0301.97316.39
7.4.40.0301.97316.46
7.4.30.0201.98716.45
7.4.20.0271.97716.55
7.4.10.0321.97216.48
7.4.00.0261.89616.41
7.3.280.0100.01016.36
7.3.270.0150.00816.38
7.3.260.0120.01016.44
7.3.250.0120.00916.45
7.3.240.0090.01316.49
7.3.230.0170.00416.44
7.3.220.0140.01116.38
7.3.210.0170.00716.38
7.3.200.0130.00616.41
7.3.190.0080.01116.46
7.3.180.0080.01016.42
7.3.170.0090.01116.40
7.3.160.0090.00916.39
7.3.150.0120.00716.36
7.3.140.0110.00716.47
7.3.130.0110.00916.48
7.3.120.0130.00716.32
7.3.110.0150.00616.34
7.3.100.0150.00716.40
7.3.90.0120.01016.51
7.3.80.0150.00616.43
7.3.70.0100.01216.38
7.3.60.0120.01116.37
7.3.50.0140.00816.43
7.3.40.0100.00916.45
7.3.30.0100.01016.46
7.3.20.0150.00616.47
7.3.10.0100.01116.38
7.3.00.0160.00616.36

preferences:
54.1 ms | 835 KiB | 5 Q