3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Precisa de definir a função abaixo para evitar warnings date_default_timezone_set('America/Edmonton'); //Sua data original $Date = "2014-07-29"; //Modifica a data (7 dias atrás) $data_actula = date('Y-m-d', strtotime($Date. ' - 7 days')); //Mostra resultado echo $data_actula; ?>
Output for git.master, git.master_jit, rfc.property-hooks
2014-07-22

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:
51.3 ms | 401 KiB | 8 Q