3v4l.org

run code in 300+ PHP versions simultaneously
//display it like this if (array_key_exists('404', $_GET) && array_key_exists($_GET['404'], $memes)) { $key = $_GET['404']; } else { $key = array_rand($memes); } echo $memes[$key]; if ($key == '') { $keyHandler = ''; } else { $keyHandler = '=' .$key; } ?> <h1>You dun goofed</h1> <?php echo 'Error code: ?404'. $keyHandler; ?>

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.5.10.0110.00716.73
8.5.00.0140.01019.97
8.4.160.0190.00419.69
8.4.150.0080.00616.86
8.4.140.0130.00817.58
8.4.130.0050.00318.37
8.4.120.0090.00223.89
8.4.110.0050.00418.98
8.4.100.0080.01218.96
8.4.90.0030.00420.69
8.4.80.0040.00418.49
8.4.70.0110.00918.13
8.4.60.0120.00918.65
8.4.50.0110.00920.45
8.4.40.0160.00417.53
8.4.30.0100.01019.27
8.4.20.0030.00617.86
8.4.10.0040.00417.68
8.3.280.0140.00618.41
8.3.270.0110.00916.85
8.3.260.0050.00316.61
8.3.250.0150.00518.95
8.3.240.0110.00517.23
8.3.230.0040.00416.57
8.3.220.0040.00318.88
8.3.210.0120.00816.82
8.3.200.0030.00616.62
8.3.190.0060.01217.08
8.3.180.0140.00416.98
8.3.170.0130.00720.41
8.3.160.0070.01116.71
8.3.150.0090.00916.61
8.3.140.0000.00816.44
8.3.130.0130.01018.39
8.3.120.0120.00618.68
8.3.110.0030.00616.91
8.3.100.0050.00316.50
8.3.90.0080.00016.52
8.3.80.0060.00617.97
8.3.70.0100.01016.50
8.3.60.0090.00618.30
8.3.50.0040.01018.23
8.3.40.0130.00318.88
8.3.30.0100.00318.63
8.3.20.0070.00021.88
8.3.10.0080.00021.64
8.3.00.0070.00023.48
8.2.290.0080.00720.39
8.2.280.0150.00522.28
8.2.270.0160.00316.88
8.2.260.0000.00816.56
8.2.250.0060.00318.46
8.2.240.0060.00318.32
8.2.230.0040.00420.94
8.2.220.0030.01024.06
8.2.210.0000.00826.77
8.2.200.0060.00318.13
8.2.190.0110.00416.75
8.2.180.0090.00616.38
8.2.170.0100.01022.96
8.2.160.0140.00022.11
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00421.04
8.2.110.0030.00622.27
8.2.100.0060.00617.78
8.2.90.0050.00517.76
8.2.80.0040.00418.73
8.2.70.0000.00817.50
8.2.60.0040.00717.80
8.2.50.0080.00018.07
8.2.40.0000.00818.09
8.2.30.0050.00217.88
8.2.20.0060.00318.02
8.2.10.0080.00017.97
8.2.00.0040.00417.91
8.1.330.0100.00821.93
8.1.320.0140.00617.88
8.1.310.0070.01118.17
8.1.300.0120.00620.09
8.1.290.0100.00018.88
8.1.280.0110.00425.92
8.1.270.0080.00023.82
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0060.00320.70
8.1.230.0070.00420.85
8.1.220.0070.00017.74
8.1.210.0000.00818.77
8.1.200.0040.00717.23
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0000.01018.63
8.1.160.0000.00718.72
8.1.150.0030.00318.85
8.1.140.0000.00717.57
8.1.130.0030.00718.95
8.1.120.0030.00317.38
8.1.110.0000.00817.40
8.1.100.0070.00017.23
8.1.90.0050.00317.21
8.1.80.0000.00917.25
8.1.70.0000.00817.36
8.1.60.0040.00417.46
8.1.50.0040.00417.41
8.1.40.0000.00817.36
8.1.30.0000.00817.46
8.1.20.0030.00517.54
8.1.10.0000.00817.48
8.1.00.0040.00417.37
8.0.300.0070.00020.13
8.0.290.0040.00416.75
8.0.280.0000.00718.32
8.0.270.0000.00717.19
8.0.260.0030.00317.07
8.0.250.0070.00017.00
8.0.240.0000.00716.95
8.0.230.0030.00316.87
8.0.220.0000.00716.77
8.0.210.0040.00416.80
8.0.200.0000.00816.92
8.0.190.0030.00516.86
8.0.180.0000.00816.82
8.0.170.0100.00016.89
8.0.160.0000.00716.90
8.0.150.0040.00416.75
8.0.140.0030.00816.77
8.0.130.0030.00313.30
8.0.120.0040.00416.82
8.0.110.0000.00816.84
8.0.100.0080.00016.78
8.0.90.0000.00716.73
8.0.80.0070.00716.83
8.0.70.0030.00516.65
8.0.60.0040.00416.70
8.0.50.0040.00416.94
8.0.30.0080.00916.97
8.0.20.0070.01317.40
8.0.10.0030.00516.77
8.0.00.0100.01016.61
7.4.330.0020.00215.55
7.4.320.0000.00616.37
7.4.300.0060.00016.35
7.4.290.0000.00716.51
7.4.280.0030.00516.35
7.4.270.0000.00816.45
7.4.260.0080.00016.33
7.4.250.0030.00516.25
7.4.240.0040.00416.50
7.4.230.0030.00316.46
7.4.220.0000.00716.58
7.4.210.0050.00916.44
7.4.200.0030.00316.55
7.4.160.0080.00816.35
7.4.140.0080.01217.86
7.4.130.0110.00716.45
7.4.120.0120.00616.54
7.4.110.0120.00416.30
7.4.100.0130.00316.48
7.4.90.0040.01516.48
7.4.80.0140.00419.39
7.4.70.0060.01116.54
7.4.60.0070.01016.41
7.4.50.0040.01116.41
7.4.40.0150.00716.17
7.4.00.0060.00915.02
7.3.330.0030.00313.28
7.3.320.0060.00013.10
7.3.310.0000.00716.40
7.3.300.0050.00216.27
7.3.290.0040.00416.10
7.3.280.0090.00816.27
7.3.260.0090.00816.25
7.3.240.0120.00716.37
7.3.230.0140.00616.46
7.3.210.0040.01416.48
7.3.200.0030.01316.49
7.3.190.0070.01016.20
7.3.180.0090.00616.48
7.3.170.0110.00416.34
7.3.160.0200.00016.47
7.2.330.0090.00916.41
7.2.320.0040.01816.67
7.2.310.0110.00616.37
7.2.300.0030.01316.27
7.2.290.0100.01316.59
7.2.60.0060.01016.81
7.2.40.0380.01017.66
7.2.30.0610.01317.66
7.2.20.0560.01117.74
7.2.10.0580.01117.98
7.2.00.0600.00817.87
7.1.200.0090.00315.46
7.1.160.0520.00616.81
7.1.150.0590.00916.38
7.1.140.0700.00816.62
7.1.130.0620.00616.40
7.1.120.1990.00816.59
7.1.110.2240.00615.91
7.1.100.1940.01116.13
7.1.90.2740.00815.99
7.1.80.2160.00916.18
7.1.70.2060.00515.18
7.1.60.2380.01533.09
7.1.50.2770.02232.88
7.1.40.2200.01432.23
7.1.30.2170.01332.45
7.1.20.1820.00832.54
7.1.10.1790.01214.73
7.1.00.2010.00514.57

preferences:
33.42 ms | 403 KiB | 5 Q