mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
f46b3053a6
commit
6e8112625b
6 changed files with 6 additions and 6 deletions
|
@ -328,7 +328,7 @@ Script PUT /put.php3
|
|||
</simpara>
|
||||
<para>
|
||||
<informalexample><programlisting>
|
||||
<? copy($PHP_UPLOADED_FILE_NAME,$DOCUMENT_ROOT.$REQUEST_URI); ?>
|
||||
<?php copy($PHP_UPLOADED_FILE_NAME,$DOCUMENT_ROOT.$REQUEST_URI); ?>
|
||||
</programlisting></informalexample>
|
||||
</para>
|
||||
<simpara>
|
||||
|
|
|
@ -1697,7 +1697,7 @@ while (list ($key, $val) = each ($HTTP_POST_VARS)) {
|
|||
<example>
|
||||
<title><function>Extract</function> example</title>
|
||||
<programlisting role="php">
|
||||
<php?
|
||||
<?php
|
||||
|
||||
/* Suppose that $var_array is an array returned from
|
||||
wddx_deserialize */
|
||||
|
|
|
@ -507,7 +507,7 @@ if (!$fp) {
|
|||
<example>
|
||||
<title><function>Ip2long</function> Example</title>
|
||||
<programlisting role="php">
|
||||
<?
|
||||
<?php
|
||||
$ip = gethostbyname("www.php.net");
|
||||
$out = "The following URLs are equivalent:<br>\n";
|
||||
$out .= "http://www.php.net/, http://".$ip."/, and http://".ip2long($ip)."/<br>\n";
|
||||
|
|
|
@ -453,7 +453,7 @@ echo $arr["author"] . " <- array\n";
|
|||
$database = "verlag";
|
||||
$db_conn = pg_connect ("host=localhost port=5432 dbname=$database");
|
||||
if (!$db_conn): ?>
|
||||
<H1>Failed connecting to postgres database <? echo $database ?></H1> <?
|
||||
<H1>Failed connecting to postgres database <?php echo $database ?></H1> <?php
|
||||
exit;
|
||||
endif;
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ session_register ("count");
|
|||
$count++;
|
||||
?>
|
||||
|
||||
Hello visitor, you have seen this page <? echo $count; ?> times.<p>
|
||||
Hello visitor, you have seen this page <?php echo $count; ?> times.<p>
|
||||
|
||||
<php?
|
||||
# the <?=SID?> is necessary to preserve the session id
|
||||
|
|
|
@ -481,7 +481,7 @@ $a = array(
|
|||
multi-dimensional arrays:
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<?
|
||||
<?php
|
||||
$a = array(
|
||||
"apple" => array(
|
||||
"color" => "red",
|
||||
|
|
Loading…
Reference in a new issue