ID: 7888
Updated by: hholzgra
Reported By: [EMAIL PROTECTED]
Old-Status: Analyzed
Status: Assigned
Bug Type: Documentation problem
PHP Version: 4.0.2
Assigned To: hholzgra
Comments:



Previous Comments:
---------------------------------------------------------------------------

[2000-11-20 11:14:17] [EMAIL PROTECTED]
Forwarded to the doc group, it's only a mistake in the pdf version of tha manual.

---------------------------------------------------------------------------

[2000-11-20 07:41:12] [EMAIL PROTECTED]
i guess it is in the PDF version?

it is a known problem (at least to me ) that the
TeX backend converts a '--' into a 'long -'

---------------------------------------------------------------------------

[2000-11-20 06:27:23] [EMAIL PROTECTED]
Where exactly in the manual do you find this? I couldn't find it.

---------------------------------------------------------------------------

[2000-11-20 06:23:48] [EMAIL PROTECTED]
It's a typo in the manual. Fixing it now.

---------------------------------------------------------------------------

[2000-11-20 06:17:13] [EMAIL PROTECTED]
The documentation says 
$a= 5;
-$a;
echo $a;

theresult: 4

$a= 5;
$a-;
echo $a

theresult: 4

In reality however both report an error

Instead it should be:
$a--;
--$a;

Which makes more sense to me since it is also ++$a and $a++.

Is this just the winversion, has it to do with phptriad or is this a mistake in the 
documentation? Since I probably end up serving the pages on Linux and building it on 
Wintel it could be quite a problem.

Jeroen Goulooze 



---------------------------------------------------------------------------

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7888&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to