#33337 [Opn->Csd]: The semicolon in C is not an instruction separator

From: Date: Tue, 14 Jun 2005 12:23:19 +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-969368593@lists.php.net to get a copy of this message
ID: 33337 Updated by: vrana@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: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc (#969368593) next »