For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > August 2007 > #42494 [NEW]: Exemple of your web site page "lang - IT"









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #42494 [NEW]: Exemple of your web site page "lang - IT"
alberto dot bravi at f3arless dot com

2007-08-31, 7:36 pm

From: alberto dot bravi at f3arless dot com
Operating system: mac os x
PHP version: Irrelevant
PHP Bug Type: Website problem
Bug description: Exemple of your web site page "lang - IT"

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 bug report at http://bugs.php.net/?id=42494&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42494&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42494&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42494&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42494&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=42494&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42494&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42494&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42494&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42494&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42494&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=42494&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=42494&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42494&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42494&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42494&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42494&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42494&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42494&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42494&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42494&r=mysqlcfg
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com