fixing <? to <?php

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@37665 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Ron Chmara 2000-12-13 04:51:35 +00:00
parent f46b3053a6
commit 6e8112625b
6 changed files with 6 additions and 6 deletions

View file

@ -328,7 +328,7 @@ Script PUT /put.php3
</simpara>
<para>
<informalexample><programlisting>
&lt;? copy($PHP_UPLOADED_FILE_NAME,$DOCUMENT_ROOT.$REQUEST_URI); ?&gt;
&lt;?php copy($PHP_UPLOADED_FILE_NAME,$DOCUMENT_ROOT.$REQUEST_URI); ?&gt;
</programlisting></informalexample>
</para>
<simpara>

View file

@ -1697,7 +1697,7 @@ while (list ($key, $val) = each ($HTTP_POST_VARS)) {
<example>
<title><function>Extract</function> example</title>
<programlisting role="php">
&lt;php?
&lt;?php
/* Suppose that $var_array is an array returned from
wddx_deserialize */

View file

@ -507,7 +507,7 @@ if (!$fp) {
<example>
<title><function>Ip2long</function> Example</title>
<programlisting role="php">
&lt;?
&lt;?php
$ip = gethostbyname("www.php.net");
$out = "The following URLs are equivalent:&lt;br&gt;\n";
$out .= "http://www.php.net/, http://".$ip."/, and http://".ip2long($ip)."/&lt;br&gt;\n";

View file

@ -453,7 +453,7 @@ echo $arr["author"] . " &lt;- array\n";
$database = "verlag";
$db_conn = pg_connect ("host=localhost port=5432 dbname=$database");
if (!$db_conn): ?>
&lt;H1>Failed connecting to postgres database &lt;? echo $database ?>&lt;/H1> &lt;?
&lt;H1>Failed connecting to postgres database &lt;?php echo $database ?>&lt;/H1> &lt;?php
exit;
endif;

View file

@ -144,7 +144,7 @@ session_register ("count");
$count++;
?&gt;
Hello visitor, you have seen this page &lt;? echo $count; ?&gt; times.&lt;p&gt;
Hello visitor, you have seen this page &lt;?php echo $count; ?&gt; times.&lt;p&gt;
&lt;php?
# the &lt;?=SID?&gt; is necessary to preserve the session id

View file

@ -481,7 +481,7 @@ $a = array(
multi-dimensional arrays:
<informalexample>
<programlisting role="php">
&lt;?
&lt;?php
$a = array(
"apple" => array(
"color" => "red",