3v4l.org

run code in 300+ PHP versions simultaneously
<?php //echo (new DateTime())->format('Y-m-d'); $azi = date('Y-m-d'); //$azi->sub(new DateInterval('P5D')); $lead_time= (new DateTime('2014-09-05 13:18:26'))->format('Y-m-d'); if($lead_time<$azi){ // Leaduri mai vechi $l_class=""; }else{ // Leaduri Fresh $l_class="fresh_leads"; echo "Fresh"; } /* $azi->sub(new DateInterval('P5D')); echo $azi; */
Output for git.master, git.master_jit, rfc.property-hooks

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
72.21 ms | 401 KiB | 8 Q