3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = '/purest/test/testing_route/abcd'; list($matches['prefix'], $matches['service'], $matches['route'], explode('/', ltrim($url, '/'), 3); var_dump($matches);

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.0070.05318.91
5.4.250.0200.04018.77
5.4.240.0130.07018.90
5.4.230.0170.04319.02
5.4.220.0230.06318.72
5.4.210.0170.04718.70
5.4.200.0130.05318.89
5.4.190.0200.04318.70
5.4.180.0200.04018.89
5.4.170.0070.07718.69
5.4.160.0070.07718.66
5.4.150.0230.05319.00
5.4.140.0030.06316.45
5.4.130.0030.05016.25
5.4.120.0070.04716.29
5.4.110.0100.05016.23
5.4.100.0070.04716.42
5.4.90.0130.05016.23
5.4.80.0070.05016.51
5.4.70.0130.04716.21
5.4.60.0070.05016.21
5.4.50.0130.04316.32
5.4.40.0130.04316.29
5.4.30.0030.05016.52
5.4.20.0170.03716.46
5.4.10.0030.05716.46
5.4.00.0100.05315.74
5.3.280.0030.06014.60
5.3.270.0070.06014.63
5.3.260.0170.05014.31
5.3.250.0070.06314.75
5.3.240.0070.06714.75
5.3.230.0100.06014.48
5.3.220.0130.07314.45
5.3.210.0100.07014.43
5.3.200.0130.04314.47
5.3.190.0070.07014.48
5.3.180.0130.05014.59
5.3.170.0070.07314.57
5.3.160.0170.04314.62
5.3.150.0130.07014.41
5.3.140.0030.05714.64
5.3.130.0130.05314.59
5.3.120.0130.05014.54
5.3.110.0070.05314.70
5.3.100.0130.05313.80
5.3.90.0100.07313.79
5.3.80.0100.04713.94
5.3.70.0130.04713.89
5.3.60.0100.05713.87
5.3.50.0030.05013.89
5.3.40.0230.06014.10
5.3.30.0130.04713.92
5.3.20.0070.07013.79
5.3.10.0100.07013.42
5.3.00.0200.05313.41
5.2.170.0100.05311.15
5.2.160.0100.03710.98
5.2.150.0030.04310.98
5.2.140.0170.04011.16
5.2.130.0200.04311.02
5.2.120.0070.04011.25
5.2.110.0100.03710.86
5.2.100.0030.04011.19
5.2.90.0070.05710.86
5.2.80.0070.06311.02
5.2.70.0170.04011.24
5.2.60.0100.04011.05
5.2.50.0030.04311.02
5.2.40.0030.05010.93
5.2.30.0030.04311.12
5.2.20.0100.03711.05
5.2.10.0000.04310.93
5.2.00.0130.05010.71
5.1.60.0100.04010.04
5.1.50.0070.0409.93
5.1.40.0070.0339.91
5.1.30.0130.02710.41
5.1.20.0100.05010.29
5.1.10.0070.03710.13
5.1.00.0100.03010.16
5.0.50.0030.0278.78
5.0.40.0030.0278.25
5.0.30.0000.0478.10
5.0.20.0100.0308.38
5.0.10.0030.0378.25
5.0.00.0030.0578.34
4.4.90.0070.0277.05
4.4.80.0000.0237.05
4.4.70.0000.0277.05
4.4.60.0070.0237.05
4.4.50.0030.0237.05
4.4.40.0070.0307.05
4.4.30.0000.0307.05
4.4.20.0000.0237.05
4.4.10.0000.0237.05
4.4.00.0130.0377.05
4.3.110.0070.0237.05
4.3.100.0030.0237.05
4.3.90.0000.0337.05
4.3.80.0000.0477.05
4.3.70.0070.0277.05
4.3.60.0030.0207.05
4.3.50.0070.0177.05
4.3.40.0000.0337.05
4.3.30.0000.0237.05
4.3.20.0030.0237.05
4.3.10.0000.0237.05
4.3.00.0070.0206.81

preferences:
145.65 ms | 1394 KiB | 7 Q