fork(2) download
  1. <?php
  2.  
  3. /*
  4. current
  5. 2000 = (2000) 2001 2002 2003 2004
  6. 2001 = 2000 (2001) 2002 2003 2004
  7. 2002 = 2000 2001 (2002) 2003 2004
  8. 2003 = 2001 2002 (2003) 2004 2005
  9. 2004 = 2002 2003 (2004) 2005 2006
  10. 2005 = 2003 2004 (2005) 2006 2007
  11. 2006 = 2004 2005 (2006) 2007 2008
  12. 2007 = 2005 2006 (2007) 2008 2009
  13. 2008 = 2006 2007 2006 (2008) 2009
  14. 2009 = 2006 2007 2006 2008 (2009)
  15. */
  16.  
  17. $year = array("2000", "2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009");
  18. $year_current = "2004"; # output = 2002 2003 (2004) 2005 2006
Success #stdin #stdout 0s 82880KB
stdin
Standard input is empty
stdout
Standard output is empty