cvs: phpdoc /en/chapters tutorial.xml

From: Date: Sat, 20 Jul 2002 18:23:40 +0000
Subject: cvs: phpdoc /en/chapters tutorial.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969347455@lists.php.net to get a copy of this message
goba Sat Jul 20 14:23:40 2002 EDT Modified files: /phpdoc/en/chapters tutorial.xml Log: Adding sample output information to all examples, so guys can try and see if the output is right... Index: phpdoc/en/chapters/tutorial.xml diff -u phpdoc/en/chapters/tutorial.xml:1.3 phpdoc/en/chapters/tutorial.xml:1.4 --- phpdoc/en/chapters/tutorial.xml:1.3 Tue Jul 16 17:09:37 2002 +++ phpdoc/en/chapters/tutorial.xml Sat Jul 20 14:23:40 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <chapter id="tutorial"> <title>A simple tutorial</title> @@ -54,6 +54,21 @@ </html> ]]> </programlisting> + <para> + The output of this script will be: + <screen role="html"> +<![CDATA[ +<html> + <head> + <title>PHP Test</title> + </head> + <body> + Hello World<p> + </body> +</html> +]]> + </screen> + </para> </example> </para> <para> @@ -124,6 +139,12 @@ <?php echo $_SERVER["HTTP_USER_AGENT"]; ?> ]]> </programlisting> + <para> + A sample output of this script may be: + <screen role="html"> +Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) + </screen> + </para> </example> </para> <para> @@ -173,6 +194,14 @@ ?> ]]> </programlisting> + <para> + A sample output of this script may be: + <screen role="html"> +<![CDATA[ +You are using Internet Explorer<br /> +]]> + </screen> + </para> </example> </para> <para> @@ -226,6 +255,15 @@ ?> ]]> </programlisting> + <para> + A sample output of this script may be: + <screen role="html"> +<![CDATA[ +<h3>strstr must have returned true</h3> +<center><b>You are using Internet Explorer</b></center> +]]> + </screen> + </para> </example> </para> <para> @@ -278,6 +316,15 @@ You are <?php echo $_POST["age"]; ?> years old. ]]> </programlisting> + <para> + A sample output of this script may be: + <screen role="html"> +<![CDATA[ +Hi Joe. +You are 22 years old. +]]> + </screen> + </para> </example> </para> <para>

« previous php.doc (#969347455) next »