ID:               33337
 Updated by:       [EMAIL PROTECTED]
 Reported By:      fogbank at fogbank dot org
-Status:           Closed
+Status:           Open
 Bug Type:         Documentation problem
 Operating System: Irrelevant
 PHP Version:      Irrelevant
 New Comment:

PHP *does* behave like C, not like PASCAL, in this
so the comparison is right while the wording might be discussed


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

[2005-06-14 14:23:18] [EMAIL PROTECTED]

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.

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

[2005-06-14 14:08:32] fogbank at fogbank dot org

Description:
------------
The documentation for Basic Syntax -> Instruction 
Separation states that C is like PHP with respect to using 
the semicolon as separator between instructions. 
 
That's not true: in C the semicolon is an instruction 
terminator, not a separator, i.e.: the last instruction in 
a block must be terminated as well. 
 
If you need a language to compare PHP with, you might 
choose Pascal, where the semicolon is actually an 
instruction separator. 
 



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


-- 
Edit this bug report at http://bugs.php.net/?id=33337&edit=1

Reply via email to