3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(substr('0e1234asd',3))

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.340.0000.07019.22
5.4.320.0030.03719.14
5.4.310.0000.04019.11
5.4.300.0200.04319.09
5.4.290.0070.06019.06
5.4.280.0030.04318.93
5.4.270.0030.08019.13
5.4.260.0170.06718.79
5.4.250.0000.06719.05
5.4.240.0030.04319.23
5.4.230.0130.06718.88
5.4.220.0030.06718.90
5.4.210.0030.04019.13
5.4.200.0070.06318.87
5.4.190.0000.07719.08
5.4.180.0170.05718.78
5.4.170.0000.05719.25
5.4.160.0070.07319.08
5.4.150.0070.07718.79
5.4.140.0030.05716.28
5.4.130.0000.04016.30
5.4.120.0030.03716.16
5.4.110.0030.07716.07
5.4.100.0000.07316.23
5.4.90.0100.07016.39
5.4.80.0200.05316.18
5.4.70.0030.07016.07
5.4.60.0070.04716.37
5.4.50.0030.07016.45
5.4.40.0000.08016.17
5.4.30.0070.07016.20
5.4.20.0000.07716.42
5.4.10.0070.07016.30
5.4.00.0030.03715.63
5.3.290.0000.03714.52
5.3.280.0100.06314.43
5.3.270.0030.05014.64
5.3.260.0100.04314.51
5.3.250.0000.05714.55
5.3.240.0030.05714.63
5.3.230.0070.07014.43
5.3.220.0300.06014.66
5.3.210.0070.07714.43
5.3.200.0000.07314.43
5.3.190.0070.07014.52
5.3.180.0070.07714.41
5.3.170.0000.04714.50
5.3.160.0000.04314.43
5.3.150.0030.07314.59
5.3.140.0030.06714.41
5.3.130.0030.08014.42
5.3.120.0030.08014.45
5.3.110.0070.07314.53
5.3.100.0000.06714.00
5.3.90.0100.06013.95
5.3.80.0000.05314.07
5.3.70.0030.06314.06
5.3.60.0070.05313.77
5.3.50.0030.07313.80
5.3.40.0030.06013.79
5.3.30.0070.05013.95
5.3.20.0030.05713.56
5.3.10.0030.05713.61
5.3.00.0030.06713.66
5.2.170.0000.05712.58
5.2.160.0100.05312.58
5.2.150.0030.05012.58
5.2.140.0030.04012.58
5.2.130.0030.05312.58
5.2.120.0030.05712.58
5.2.110.0100.05012.58
5.2.100.0070.05712.58
5.2.90.0030.06012.58
5.2.80.0000.06712.58
5.2.70.0100.05312.58
5.2.60.0030.06312.58
5.2.50.0000.05312.58
5.2.40.0030.04012.58
5.2.30.0070.06012.58
5.2.20.0030.06012.58
5.2.10.0030.05712.58
5.2.00.0030.03012.58
5.1.60.0030.04712.58
5.1.50.0070.02312.58
5.1.40.0030.04012.58
5.1.30.0070.05712.58
5.1.20.0070.05012.58
5.1.10.0030.05012.58
5.1.00.0070.04012.58
5.0.50.0030.02712.58
5.0.40.0000.03312.58
5.0.30.0100.06012.58
5.0.20.0000.03712.58
5.0.10.0030.04312.58
5.0.00.0030.03312.58
4.4.90.0030.03312.58
4.4.80.0000.03712.58
4.4.70.0130.02712.58
4.4.60.0000.02312.58
4.4.50.0000.03712.58
4.4.40.0000.04312.58
4.4.30.0030.03012.58
4.4.20.0030.03312.58
4.4.10.0030.02312.58
4.4.00.0000.05312.58
4.3.110.0000.02712.58
4.3.100.0000.03312.58
4.3.90.0030.03012.58
4.3.80.0000.03012.58
4.3.70.0000.02012.58
4.3.60.0000.02012.58
4.3.50.0000.02312.58
4.3.40.0000.03312.58
4.3.30.0030.01712.58
4.3.20.0070.01712.58
4.3.10.0030.01712.58
4.3.00.0000.02012.58

preferences:
137.25 ms | 1394 KiB | 7 Q