3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = "09:24:00"; echo(substr(date, 0, 2),date, 3, 2),substr(date, 6, 2);

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.0080.03912.01
5.4.320.0070.03812.50
5.4.310.0100.04512.49
5.4.300.0190.09612.50
5.4.290.0120.06912.49
5.4.280.0090.05512.39
5.4.270.0080.04612.39
5.4.260.0140.05212.39
5.4.250.0110.04912.39
5.4.240.0100.06112.39
5.4.230.0150.05512.38
5.4.220.0120.05612.38
5.4.210.0090.04812.38
5.4.200.0050.04212.38
5.4.190.0070.04312.38
5.4.180.0100.04912.38
5.4.170.0120.08012.38
5.4.160.0150.06912.38
5.4.150.0320.09712.38
5.4.140.0150.05812.07
5.4.130.0100.04712.05
5.4.120.0190.06812.02
5.4.110.0310.09812.01
5.4.100.0250.09012.01
5.4.90.0140.07112.01
5.4.80.0100.07812.01
5.4.70.0090.05212.00
5.4.60.0140.07212.01
5.4.50.0140.10812.01
5.4.40.0140.09512.00
5.4.30.0210.09311.99
5.4.20.0070.05511.99
5.4.10.0100.04411.99
5.4.00.0080.04911.48
5.3.290.0240.07812.80
5.3.280.0150.07612.71
5.3.270.0200.05212.73
5.3.260.0130.05712.72
5.3.250.0130.04912.72
5.3.240.0140.05912.72
5.3.230.0100.05012.71
5.3.220.0130.05912.68
5.3.210.0210.09112.68
5.3.200.0200.07512.68
5.3.190.0140.04912.68
5.3.180.0110.05012.68
5.3.170.0160.08612.67
5.3.160.0210.07612.67
5.3.150.0070.06512.67
5.3.140.0260.10212.66
5.3.130.0220.08012.66
5.3.120.0100.05612.66
5.3.110.0230.08112.66
5.3.100.0270.11412.12
5.3.90.0120.05212.09
5.3.80.0270.14012.07
5.3.70.0150.07612.08
5.3.60.0210.10212.06
5.3.50.0140.10012.00
5.3.40.0070.05712.00
5.3.30.0140.05311.95
5.3.20.0100.04711.72
5.3.10.0060.04911.70
5.3.00.0070.04611.68
5.2.170.0050.0369.18
5.2.160.0060.0379.18
5.2.150.0080.0319.18
5.2.140.0090.0379.18
5.2.130.0070.0469.14
5.2.120.0110.0379.14
5.2.110.0120.0379.15
5.2.100.0110.0399.14
5.2.90.0070.0409.14
5.2.80.0060.0399.14
5.2.70.0100.0349.14
5.2.60.0100.0329.09
5.2.50.0100.0359.06
5.2.40.0070.0359.04
5.2.30.0090.0399.01
5.2.20.0050.0339.00
5.2.10.0070.0358.93
5.2.00.0110.0338.78
5.1.60.0060.0348.07
5.1.50.0070.0338.06
5.1.40.0080.0338.04
5.1.30.0070.0418.40
5.1.20.0110.0438.42
5.1.10.0090.0368.14
5.1.00.0090.0358.14
5.0.50.0100.0316.62
5.0.40.0070.0296.48
5.0.30.0050.0466.29
5.0.20.0040.0316.26
5.0.10.0090.0296.24
5.0.00.0050.0436.23
4.4.90.0060.0204.78
4.4.80.0060.0214.76
4.4.70.0050.0214.75
4.4.60.0060.0204.75
4.4.50.0030.0244.77
4.4.40.0070.0284.71
4.4.30.0020.0264.76
4.4.20.0090.0294.84
4.4.10.0070.0264.85
4.4.00.0050.0384.75
4.3.110.0060.0194.67
4.3.100.0040.0234.66
4.3.90.0050.0204.63
4.3.80.0060.0294.59
4.3.70.0040.0224.63
4.3.60.0060.0194.63
4.3.50.0050.0214.63
4.3.40.0070.0404.54
4.3.30.0050.0443.28
4.3.20.0070.0463.26
4.3.10.0050.0203.22
4.3.00.0070.0277.04

preferences:
140.78 ms | 1394 KiB | 7 Q