3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(date_default_timezone_get()); for ($y = 1970; $y <= 2020; $y++) { $ts = strtotime((string) $y); $date = date("Y-m-d H:i:s", $ts); $isL = date("L", $ts); print "$y :: $date :: $isL\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
string(16) "Europe/Amsterdam" 1970 :: 1970-03-28 10:04:14 :: 0 1971 :: 1971-03-28 10:04:14 :: 0 1972 :: 1972-03-28 10:04:14 :: 1 1973 :: 1973-03-28 10:04:14 :: 0 1974 :: 1974-03-28 10:04:14 :: 0 1975 :: 1975-03-28 10:04:14 :: 0 1976 :: 1976-03-28 10:04:14 :: 1 1977 :: 1977-03-28 10:04:14 :: 0 1978 :: 1978-03-28 10:04:14 :: 0 1979 :: 1979-03-28 10:04:14 :: 0 1980 :: 1980-03-28 10:04:14 :: 1 1981 :: 1981-03-28 10:04:14 :: 0 1982 :: 1982-03-28 10:04:14 :: 0 1983 :: 1983-03-28 10:04:14 :: 0 1984 :: 1984-03-28 10:04:14 :: 1 1985 :: 1985-03-28 10:04:14 :: 0 1986 :: 1986-03-28 10:04:14 :: 0 1987 :: 1987-03-28 10:04:14 :: 0 1988 :: 1988-03-28 10:04:14 :: 1 1989 :: 1989-03-28 10:04:14 :: 0 1990 :: 1990-03-28 10:04:14 :: 0 1991 :: 1991-03-28 10:04:14 :: 0 1992 :: 1992-03-28 10:04:14 :: 1 1993 :: 1993-03-28 10:04:14 :: 0 1994 :: 1994-03-28 10:04:14 :: 0 1995 :: 1995-03-28 10:04:14 :: 0 1996 :: 1996-03-28 10:04:14 :: 1 1997 :: 1997-03-28 10:04:14 :: 0 1998 :: 1998-03-28 10:04:14 :: 0 1999 :: 1999-03-28 10:04:14 :: 0 2000 :: 2019-03-28 20:00:00 :: 0 2001 :: 2019-03-28 20:01:00 :: 0 2002 :: 2019-03-28 20:02:00 :: 0 2003 :: 2019-03-28 20:03:00 :: 0 2004 :: 2019-03-28 20:04:00 :: 0 2005 :: 2019-03-28 20:05:00 :: 0 2006 :: 2019-03-28 20:06:00 :: 0 2007 :: 2019-03-28 20:07:00 :: 0 2008 :: 2019-03-28 20:08:00 :: 0 2009 :: 2019-03-28 20:09:00 :: 0 2010 :: 2019-03-28 20:10:00 :: 0 2011 :: 2019-03-28 20:11:00 :: 0 2012 :: 2019-03-28 20:12:00 :: 0 2013 :: 2019-03-28 20:13:00 :: 0 2014 :: 2019-03-28 20:14:00 :: 0 2015 :: 2019-03-28 20:15:00 :: 0 2016 :: 2019-03-28 20:16:00 :: 0 2017 :: 2019-03-28 20:17:00 :: 0 2018 :: 2019-03-28 20:18:00 :: 0 2019 :: 2019-03-28 20:19:00 :: 0 2020 :: 2019-03-28 20:20:00 :: 0

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:
42.24 ms | 405 KiB | 8 Q