php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66203 Syntax error in example code.
Submitted: 2013-11-29 15:15 UTC Modified: 2013-11-29 21:30 UTC
From: bugadani at gmail dot com Assigned: bwoebi (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bugadani at gmail dot com
New email:
PHP Version: OS:

 

 [2013-11-29 15:15 UTC] 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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-11-29 21:22 UTC] bwoebi@php.net
Automatic comment from SVN on behalf of bwoebi
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=332228
Log: Fix bug #66203 (Syntax error in example code)
 [2013-11-29 21:30 UTC] bwoebi@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: bwoebi
 [2013-11-29 21:30 UTC] bwoebi@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.


 [2020-02-07 06:08 UTC] phpdocbot@php.net
Automatic comment on behalf of bwoebi
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=35787490f26ae2ba7f96c8e6b2cb7fa39717142c
Log: Fix bug #66203 (Syntax error in example code)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 00:00:01 2026 UTC