3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dir = substr(strrchr('MyAction'), "Action"), 1);

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.270.0060.04012.39
5.4.260.0070.05318.96
5.4.250.0200.05318.98
5.4.240.0100.05018.79
5.4.230.0170.06719.01
5.4.220.0000.06318.92
5.4.210.0130.04718.79
5.4.200.0170.04318.99
5.4.190.0100.05018.99
5.4.180.0070.05318.72
5.4.170.0030.06018.70
5.4.160.0070.05018.86
5.4.150.0000.06018.79
5.4.140.0070.09316.46
5.4.130.0070.04716.38
5.4.120.0070.05016.30
5.4.110.0130.04716.51
5.4.100.0100.05016.45
5.4.90.0100.05016.34
5.4.80.0170.04016.45
5.4.70.0030.05316.44
5.4.60.0100.05016.44
5.4.50.0070.05016.46
5.4.40.0130.04716.68
5.4.30.0130.04316.41
5.4.20.0000.06716.52
5.4.10.0130.07716.27
5.4.00.0000.07716.02
5.3.280.0130.06314.46
5.3.270.0030.05714.62
5.3.260.0100.07014.50
5.3.250.0070.05014.60
5.3.240.0130.04314.38
5.3.230.0070.05314.59
5.3.220.0030.05714.72
5.3.210.0100.05314.44
5.3.200.0130.04314.34
5.3.190.0030.05714.48
5.3.180.0070.05714.57
5.3.170.0070.06014.27
5.3.160.0130.04714.26
5.3.150.0130.04314.41
5.3.140.0100.06714.43
5.3.130.0200.05714.55
5.3.120.0100.06314.25
5.3.110.0100.05014.39
5.3.100.0130.04713.95
5.3.90.0100.05013.87
5.3.80.0070.07013.87
5.3.70.0070.05014.12
5.3.60.0100.05014.05
5.3.50.0030.06713.90
5.3.40.0100.05013.97
5.3.30.0030.05013.93
5.3.20.0070.05013.71
5.3.10.0100.05313.65
5.3.00.0070.04713.70
5.2.170.0030.05011.14
5.2.160.0070.06011.14
5.2.150.0030.05711.15
5.2.140.0100.05711.29
5.2.130.0130.05011.09
5.2.120.0000.05010.98
5.2.110.0030.05011.11
5.2.100.0070.04311.11
5.2.90.0030.04011.10
5.2.80.0070.04011.24
5.2.70.0130.04310.97
5.2.60.0070.04711.00
5.2.50.0030.04311.04
5.2.40.0030.04011.09
5.2.30.0130.04710.89
5.2.20.0030.04310.98
5.2.10.0000.04010.70
5.2.00.0030.04010.65
5.1.60.0130.04310.05
5.1.50.0070.03010.18
5.1.40.0030.04310.04
5.1.30.0070.03310.34
5.1.20.0070.03310.57
5.1.10.0100.03710.14
5.1.00.0070.0509.84
5.0.50.0030.0278.70
5.0.40.0030.0308.44
5.0.30.0070.0438.18
5.0.20.0100.0238.23
5.0.10.0000.0308.16
5.0.00.0030.0408.16
4.4.90.0000.0277.38
4.4.80.0000.0237.38
4.4.70.0030.0237.38
4.4.60.0030.0207.38
4.4.50.0100.0137.38
4.4.40.0000.0377.38
4.4.30.0000.0337.38
4.4.20.0070.0237.38
4.4.10.0000.0237.38
4.4.00.0030.0377.38
4.3.110.0070.0277.38
4.3.100.0030.0307.38
4.3.90.0000.0237.38
4.3.80.0000.0377.38
4.3.70.0000.0237.38
4.3.60.0030.0207.38
4.3.50.0030.0237.38
4.3.40.0030.0477.38
4.3.30.0030.0307.38
4.3.20.0000.0237.38
4.3.10.0070.0207.38
4.3.00.0000.0236.95

preferences:
142.9 ms | 1394 KiB | 7 Q