3v4l.org

run code in 300+ PHP versions simultaneously
<?php $LastFridayOfMonth = date('Y-m-d', strtotime("last Friday", strtotime("2013-06-01"))); echo "$LastFridayOfMonth \r" ; $LastFridayOfMonth = date('Y-m-d', strtotime("last Friday", strtotime("2013-06-10"))); echo $LastFridayOfMonth; ?>

preferences:
44.78 ms | 402 KiB | 5 Q