cvs: phpdoc /en/reference/calendar/functions easter-date.xml easter-days.xml

From: Date: Wed, 16 Jul 2003 17:07:35 +0000
Subject: cvs: phpdoc /en/reference/calendar/functions easter-date.xml easter-days.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969355277@lists.php.net to get a copy of this message
didou Wed Jul 16 13:07:35 2003 EDT Modified files: /phpdoc/en/reference/calendar/functions easter-date.xml easter-days.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/calendar/functions/easter-date.xml diff -u phpdoc/en/reference/calendar/functions/easter-date.xml:1.3 phpdoc/en/reference/calendar/functions/easter-date.xml:1.4 --- phpdoc/en/reference/calendar/functions/easter-date.xml:1.3 Mon Jun 10 03:53:22 2002 +++ phpdoc/en/reference/calendar/functions/easter-date.xml Wed Jul 16 13:07:34 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/calendar.xml, last change in rev 1.2 --> <refentry id="function.easter-date"> <refnamediv> @@ -31,9 +31,13 @@ <title><function>easter_date</function> example</title> <programlisting role="php"> <![CDATA[ -echo date ("M-d-Y", easter_date(1999)); /* "Apr-04-1999" */ -echo date ("M-d-Y", easter_date(2000)); /* "Apr-23-2000" */ -echo date ("M-d-Y", easter_date(2001)); /* "Apr-15-2001" */ +<?php + +echo date ("M-d-Y", easter_date(1999)); // Apr-04-1999 +echo date ("M-d-Y", easter_date(2000)); // Apr-23-2000 +echo date ("M-d-Y", easter_date(2001)); // Apr-15-2001 + +?> ]]> </programlisting> </example> Index: phpdoc/en/reference/calendar/functions/easter-days.xml diff -u phpdoc/en/reference/calendar/functions/easter-days.xml:1.3 phpdoc/en/reference/calendar/functions/easter-days.xml:1.4 --- phpdoc/en/reference/calendar/functions/easter-days.xml:1.3 Mon Jun 10 03:53:22 2002 +++ phpdoc/en/reference/calendar/functions/easter-days.xml Wed Jul 16 13:07:34 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/calendar.xml, last change in rev 1.2 --> <refentry id="function.easter-days"> <refnamediv> @@ -43,9 +43,13 @@ <title><function>easter_days</function> example</title> <programlisting role="php"> <![CDATA[ -echo easter_days (1999); /* 14, i.e. April 4 */ -echo easter_days (1492); /* 32, i.e. April 22 */ -echo easter_days (1913); /* 2, i.e. March 23 */ +<?php + +echo easter_days (1999); // 14, i.e. April 4 +echo easter_days (1492); // 32, i.e. April 22 +echo easter_days (1913); // 2, i.e. March 23 + +?> ]]> </programlisting> </example>

« previous php.doc (#969355277) next »