3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "?a=b&f=g; $split = preg_split("/\?/", $url); unset($split[0]); var_dump(implode("?", $split)); ?>

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.260.0030.06018.93
5.4.250.0070.05318.79
5.4.240.0170.05718.94
5.4.230.0100.05318.99
5.4.220.0170.04718.94
5.4.210.0070.05318.95
5.4.200.0030.06018.79
5.4.190.0100.06718.93
5.4.180.0100.05318.64
5.4.170.0070.05018.90
5.4.160.0230.04018.93
5.4.150.0130.05318.95
5.4.140.0100.05016.47
5.4.130.0130.05316.46
5.4.120.0130.06716.29
5.4.110.0070.07016.48
5.4.100.0200.05716.50
5.4.90.0130.04716.56
5.4.80.0200.06016.45
5.4.70.0100.05716.57
5.4.60.0230.06016.38
5.4.50.0000.05716.37
5.4.40.0030.05716.58
5.4.30.0000.05316.62
5.4.20.0130.04316.34
5.4.10.0170.04716.29
5.4.00.0100.05015.87
5.3.280.0030.06014.60
5.3.270.0070.05314.70
5.3.260.0100.07314.38
5.3.250.0100.04714.62
5.3.240.0130.06314.60
5.3.230.0230.06314.43
5.3.220.0030.05314.57
5.3.210.0100.05014.56
5.3.200.0070.05714.58
5.3.190.0200.04314.58
5.3.180.0170.07014.27
5.3.170.0100.06714.62
5.3.160.0200.06014.40
5.3.150.0170.05314.66
5.3.140.0000.06014.47
5.3.130.0200.04014.70
5.3.120.0070.05314.47
5.3.110.0100.05014.40
5.3.100.0100.06313.96
5.3.90.0100.05013.91
5.3.80.0000.06714.12
5.3.70.0130.04313.86
5.3.60.0130.06013.94
5.3.50.0200.04013.98
5.3.40.0030.05313.94
5.3.30.0070.05013.77
5.3.20.0100.05013.70
5.3.10.0100.07013.80
5.3.00.0170.03713.69
5.2.170.0100.05311.14
5.2.160.0030.04311.02
5.2.150.0070.04311.16
5.2.140.0100.04010.97
5.2.130.0070.03710.98
5.2.120.0100.04311.20
5.2.110.0070.04011.11
5.2.100.0100.03311.00
5.2.90.0130.05010.88
5.2.80.0070.06311.02
5.2.70.0100.05311.09
5.2.60.0070.04011.06
5.2.50.0170.04710.94
5.2.40.0100.03710.91
5.2.30.0030.04010.98
5.2.20.0130.04311.06
5.2.10.0100.04311.02
5.2.00.0030.04310.72
5.1.60.0070.0339.92
5.1.50.0000.0379.84
5.1.40.0030.03310.07
5.1.30.0100.03710.42
5.1.20.0030.03710.41
5.1.10.0070.04710.09
5.1.00.0030.04310.15
5.0.50.0100.0238.63
5.0.40.0100.0238.37
5.0.30.0030.0438.31
5.0.20.0000.0308.28
5.0.10.0070.0338.18
5.0.00.0070.0438.21
4.4.90.0000.0237.53
4.4.80.0070.0177.53
4.4.70.0000.0237.53
4.4.60.0000.0237.53
4.4.50.0030.0207.53
4.4.40.0070.0307.53
4.4.30.0070.0177.53
4.4.20.0030.0207.53
4.4.10.0030.0207.53
4.4.00.0070.0337.52
4.3.110.0030.0207.52
4.3.100.0030.0307.52
4.3.90.0030.0207.52
4.3.80.0070.0337.52
4.3.70.0030.0207.52
4.3.60.0030.0277.52
4.3.50.0030.0207.52
4.3.40.0000.0507.52
4.3.30.0000.0277.52
4.3.20.0030.0337.52
4.3.10.0000.0337.52
4.3.00.0030.0207.46

preferences:
142.36 ms | 1398 KiB | 7 Q