php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23081 some functions use FALSE as 0
Submitted: 2003-04-07 04:36 UTC Modified: 2003-04-07 04:49 UTC
From: bibifoc23 at yahoo dot fr Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4CVS-2003-04-07 (stable) OS: all
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: bibifoc23 at yahoo dot fr
New email:
PHP Version: OS:

 

 [2003-04-07 04:36 UTC] bibifoc23 at yahoo dot fr
some functions (like socket_lasterror and ldap_err2str ) converte bool FALSE as int.

So socket_strerror ( FALSE ) display Success, or i think if the error code is FALSe, there is a problem.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-07 04:49 UTC] sniper@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 07:00:01 2026 UTC