#42494 [Opn]: Exemple of your web site page "lang - IT"
| From: | bjori@php.net | Date: | Fri, 31 Aug 2007 15:20:42 +0000 |
| Subject: | #42494 [Opn]: Exemple of your web site page "lang - IT" | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969377953@lists.php.net to get a copy of this message | ||
ID: 42494
Updated by: bjori@php.net
Reported By: alberto dot bravi at f3arless dot com
Status: Open
-Bug Type: Website problem
+Bug Type: Translation problem
Operating System: mac os x
PHP Version: Irrelevant
New Comment:
Reclassified.
Previous Comments:
------------------------------------------------------------------------
[2007-08-31 13:38:08] alberto dot bravi at f3arless dot com
Description:
------------
Hi,
in http://it.php.net/manual/it/function.system.php
the first exemple have a error, in Italian language.
Reproduce code:
---------------
<?php
echo '<pre>';
// Mette in output tutti i risultati della shellcommand "ls", e
restituisce
// l'ultima linea di output nella $last_line. Memorizza il
valore restituito
// del comando da shell in $retval.
$last_line = system('ls', $retval);
// Stampa informazioni aggiuntive
echo '
</pre>
<hr />L'ultima linea dell'output: ' . $last_line . '
<hr />Restituisce il valore: ' . $retval;
?>
Expected result:
----------------
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in
PATH OF FILE on line 12
Actual result:
--------------
<?php
echo '<pre>';
// Mette in output tutti i risultati della shellcommand "ls", e
restituisce
// l'ultima linea di output nella $last_line. Memorizza il
valore restituito
// del comando da shell in $retval.
$last_line = system('ls', $retval);
// Stampa informazioni aggiuntive
echo '
</pre>
<hr />L\'ultima linea dell\'output: ' . $last_line . '
<hr />Restituisce il valore: ' . $retval;
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42494&edit=1