php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70769 address of HashTable will always evaluate to 'true'
Submitted: 2015-10-22 13:20 UTC Modified: 2015-10-23 03:22 UTC
From: cornelius dot howl at gmail dot com Assigned: laruence (profile)
Status: Closed Package: Reflection related
PHP Version: 7.0.0RC5 OS: OS X 10.11
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cornelius dot howl at gmail dot com
New email:
PHP Version: OS:

 

 [2015-10-22 13:20 UTC] cornelius dot howl at gmail dot com
Description:
------------
There are conditions like:

   if (&ce->function_table) {
   }

However ce->function_table is a HashTable member, referencing HashTable will always evaluate to true. This is confusing.


Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-10-23 03:22 UTC] laruence@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: laruence
 [2015-10-23 03:22 UTC] laruence@php.net
the pr has been merged.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 00:01:27 2024 UTC