#33337 [Opn->Csd]: The semicolon in C is not an instruction separator
| From: | derick@php.net | Date: | Tue, 14 Jun 2005 12:29:22 +0000 |
| Subject: | #33337 [Opn->Csd]: The semicolon in C is not an instruction separator | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969368596@lists.php.net to get a copy of this message | ||
ID: 33337
Updated by: derick@php.net
Reported By: fogbank at fogbank dot org
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
New Comment:
Hartmut, that's how the bug was fixed too ;-)
Previous Comments:
------------------------------------------------------------------------
[2005-06-14 14:23:36] hholzgra@php.net
PHP *does* behave like C, not like PASCAL, in this
so the comparison is right while the wording might be discussed
------------------------------------------------------------------------
[2005-06-14 14:23:18] vrana@php.net
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