#42954 [Opn->Csd]: Invalid PHP Syntax used in example

From: Date: Sat, 13 Oct 2007 08:55:09 +0000
Subject: #42954 [Opn->Csd]: Invalid PHP Syntax used in example
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-95@lists.php.net to get a copy of this message
ID: 42954 Updated by: tularis@php.net Reported By: sleepingkiller at gmail dot com -Status: Open +Status: Closed Bug Type: Documentation problem 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: ------------------------------------------------------------------------ [2007-10-12 19:50:44] sleepingkiller at gmail dot com Description: ------------ http://us2.php.net/http_support The following example is used: <?php if (!http_support(HTTP_SUPPORT_REQUESTS) { die("Need HTTP request support!\n"); } ?> The example should say: <?php if (!http_support(HTTP_SUPPORT_REQUESTS)) { die("Need HTTP request support!\n"); } ?> Note it is missing a closing parenthesis. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42954&edit=1

« previous php.doc.bugs (#95) next »