Doc #66203 [Opn->Csd]: Syntax error in example code.
| From: | bwoebi@php.net | Date: | Fri, 29 Nov 2013 21:30:01 +0000 |
| Subject: | Doc #66203 [Opn->Csd]: Syntax error in example code. | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10656@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66203&edit=1
ID: 66203
Updated by: bwoebi@php.net
Reported by: bugadani at gmail dot com
Summary: Syntax error in example code.
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: bwoebi
Block user comment: N
Private report: N
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:
------------------------------------------------------------------------
[2013-11-29 21:22:55] bwoebi@php.net
Automatic comment from SVN on behalf of bwoebi
Revision: http://svn.php.net/viewvc/?view=revision&revision=332228
Log: Fix bug #66203 (Syntax error in example code)
------------------------------------------------------------------------
[2013-11-29 15:15:30] bugadani at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/language.operators.comparison
---
The boolean/NULL comparison example contains a syntactical error.
Wrong line: (missing closing parenthesis)
var_dump(min(-100,-10, NULL, 10, 100); // NULL - (bool)NULL < (bool)-100 is FALSE < TRUE
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66203&edit=1