3v4l.org

run code in 300+ PHP versions simultaneously
<?php $LastFridayOfMonth = date('Y-m-d', strtotime("last Friday", strtotime("2013-06-01"))); echo "$LastFridayOfMonth where 'month' is May\n" ; $LastFridayOfMonth = date('Y-m-d', strtotime("last Friday", strtotime("2013-07-01"))); echo "$LastFridayOfMonth where 'month' is June\n" ; $FirstFridayOfMonth = date('Y-m-d', strtotime("first Friday", strtotime("2013-10-31"))); echo "$LastFridayOfMonth where 'month' is November\n"

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.150.0190.05612.33
5.4.140.0130.04612.02
5.4.130.0150.04412.00
5.4.120.0160.04411.97
5.4.110.0220.05611.97
5.4.100.0180.05111.97
5.4.90.0140.04511.96
5.4.80.0160.06311.97
5.4.70.0130.04811.96
5.4.60.0140.04211.96
5.4.50.0130.04611.96
5.4.40.0160.05411.95
5.4.30.0130.04811.95
5.4.20.0120.04511.94
5.4.10.0130.04511.95
5.4.00.0170.03911.44
5.3.250.0140.04712.72
5.3.240.0200.06112.72
5.3.230.0160.05812.71
5.3.220.0160.04612.68
5.3.210.0140.04812.68
5.3.200.0140.04512.68
5.3.190.0180.05312.68
5.3.180.0140.04712.67
5.3.170.0160.05412.67
5.3.160.0130.05112.67
5.3.150.0200.05512.67
5.3.140.0130.04912.66
5.3.130.0180.06312.66
5.3.120.0170.04412.66
5.3.110.0140.05012.66
5.3.100.0160.04512.12
5.3.90.0140.04412.08
5.3.80.0140.04612.07
5.3.70.0140.04412.07
5.3.60.0160.04412.06
5.3.50.0130.04612.00
5.3.40.0150.05812.00
5.3.30.0140.05011.95
5.3.20.0160.04411.72
5.3.10.0130.04411.68
5.3.00.0120.04611.67

preferences:
142.86 ms | 1394 KiB | 7 Q