3v4l.org

run code in 300+ PHP versions simultaneously
<?php $path_info = $_SERVER['PATH_INFO'] // If PATH_INFO isn't enabled, strip everything up to and including 'index.php/' off the full URI ?: substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], 'index.php') + 10) $uri_args = explode('/', $path_info);

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)
5.4.310.3230.03718.99
5.4.300.3300.03319.22
5.4.290.3000.04019.06
5.4.280.3430.04718.96
5.4.270.3270.03719.05
5.4.260.3330.03319.10
5.4.250.3030.04319.24
5.4.240.3230.04019.13
5.4.230.2570.04319.24
5.4.220.3300.03019.23
5.4.210.3170.03719.22
5.4.200.2970.04019.18
5.4.190.2970.03718.94
5.4.180.3300.03719.21
5.4.170.2970.04019.21
5.4.160.3030.03319.11
5.4.150.3270.03719.28
5.4.140.3100.03716.51
5.4.130.3270.04016.38
5.4.120.2770.04016.45
5.4.110.3070.03316.36
5.4.100.3030.03716.36
5.4.90.3230.03016.45
5.4.80.3200.04316.35
5.4.70.3230.03716.49
5.4.60.3070.03716.51
5.4.50.3370.03316.33
5.4.40.3200.03316.54
5.4.30.3330.03316.32
5.4.20.3170.03716.53
5.4.10.3230.03716.33
5.4.00.3230.03315.91
5.3.280.3330.03314.55
5.3.270.2930.04014.43
5.3.260.3330.03714.70
5.3.250.3230.03714.45
5.3.240.3100.03314.52
5.3.230.2930.03714.55
5.3.220.3130.04314.44
5.3.210.3200.04314.62
5.3.200.2970.03714.61
5.3.190.3200.03714.52
5.3.180.3270.03714.52
5.3.170.3000.03314.44
5.3.160.2970.03014.44
5.3.150.3230.03314.44
5.3.140.3200.03714.41
5.3.130.3270.03714.50
5.3.120.2900.04314.39
5.3.110.3300.03714.49
5.3.100.3070.04014.03
5.3.90.3270.03714.11
5.3.80.3630.04013.80
5.3.70.3000.03714.11
5.3.60.2900.03713.88
5.3.50.3600.03313.80
5.3.40.2970.04014.05
5.3.30.3000.04013.86
5.3.20.2930.03313.74
5.3.10.2830.03313.75
5.3.00.2800.03713.60
5.2.170.2470.03011.31
5.2.160.2530.02711.15
5.2.150.2500.03011.22
5.2.140.2500.03011.19
5.2.130.2670.03011.11
5.2.120.3400.03011.17
5.2.110.2570.02710.97
5.2.100.2530.03010.97
5.2.90.2470.03011.15
5.2.80.2530.03311.27
5.2.70.2470.02711.25
5.2.60.2370.03310.97
5.2.50.2670.03010.97
5.2.40.2270.02311.00
5.2.30.1970.02710.97
5.2.20.2300.02711.00
5.2.10.2100.02710.97
5.2.00.2330.02310.97
5.1.60.2330.02010.97
5.1.50.2270.02310.97
5.1.40.2200.02710.97
5.1.30.2130.02710.97
5.1.20.2200.02010.97
5.1.10.2000.02310.97
5.1.00.2170.02710.97
5.0.50.1170.01710.97
5.0.40.1230.02710.97
5.0.30.1030.03310.97
5.0.20.1330.03010.97
5.0.10.1300.02310.97
5.0.00.1030.02710.97
4.4.90.1270.01710.97
4.4.80.1230.02010.97
4.4.70.1170.02010.97
4.4.60.1170.02310.97
4.4.50.1070.01310.97
4.4.40.1030.02310.97
4.4.30.1270.02010.97
4.4.20.1030.01310.97
4.4.10.1200.00710.97
4.4.00.1270.03010.97
4.3.110.1100.01010.97
4.3.100.1270.01310.97
4.3.90.1130.02010.97
4.3.80.1270.03010.97
4.3.70.1400.00710.97
4.3.60.1170.02710.97
4.3.50.1130.01710.97
4.3.40.1270.02710.97
4.3.30.0630.02310.97
4.3.20.0730.02010.97
4.3.10.0600.02010.97
4.3.00.0600.01310.97

preferences:
138.32 ms | 1394 KiB | 7 Q