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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Fri May 03 06:01:30 2024 UTC