3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($timestamp === false) { echo "The string $timestamp is bogus"; } elsif ($timestamp === -1) { echo "strtotime didn't recognize the date string"; } else { echo date('F',strtotime($timestamp)); }

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.210.0090.03912.37
5.4.200.0090.04112.37
5.4.190.0080.03912.37
5.4.180.0120.05512.37
5.4.170.0080.04012.38
5.4.160.0100.03912.37
5.4.150.0120.03912.37
5.4.140.0080.04212.06
5.4.130.0180.05212.04
5.4.120.0130.03712.00
5.4.110.0130.03512.00
5.4.100.0190.06512.00
5.4.90.0220.07112.00
5.4.80.0090.04212.00
5.4.70.0140.03912.00
5.4.60.0180.06611.99
5.4.50.0100.04511.99
5.4.40.0170.05111.98
5.4.30.0120.04311.98
5.4.20.0120.04511.97
5.4.10.0130.04311.98
5.4.00.0230.06511.47
5.3.270.0120.04612.72
5.3.260.0190.05512.72
5.3.250.0110.04412.72
5.3.240.0110.04512.72
5.3.230.0090.04412.71
5.3.220.0120.03912.68
5.3.210.0110.04612.68
5.3.200.0110.04112.68
5.3.190.0100.04212.68
5.3.180.0090.04212.67
5.3.170.0100.04012.67
5.3.160.0160.05512.67
5.3.150.0120.04112.67
5.3.140.0200.05012.66
5.3.130.0120.04012.66
5.3.120.0190.05512.66
5.3.110.0130.04512.66
5.3.100.0190.05912.12
5.3.90.0210.04912.09
5.3.80.0140.04612.07
5.3.70.0150.05612.08
5.3.60.0300.04312.07
5.3.50.0230.05112.00
5.3.40.0170.05512.00
5.3.30.0100.04411.94
5.3.20.0160.05611.71
5.3.10.0110.03611.68
5.3.00.0130.03611.67

preferences:
144.82 ms | 1398 KiB | 7 Q