Bug #73249 [NEW]: <visibility error> for Exception __construct
| From: | remi@php.net | Date: | Wed, 05 Oct 2016 05:32:04 +0000 |
| Subject: | Bug #73249 [NEW]: <visibility error> for Exception __construct | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-204462@lists.php.net to get a copy of this message | ||
From: remi
Operating system: irrevelant
PHP version: 7.0.11
Package: *General Issues
Bug Type: Bug
Bug description:<visibility error> for Exception __construct
Description:
------------
Reflection of some extension start reporting <visibility error>
Example:
Class [ <internal:couchbase> class CouchbaseException extends Exception
implements Throwable ] {
Method [ <internal:Core, inherits Exception, ctor> <visibility error>
method __construct ] {
Reported as https://issues.couchbase.com/browse/PCBC-437
But this class simply extends core Exception.
Test script:
---------------
zend_class_entry cbe;
INIT_CLASS_ENTRY(cbe, "CouchbaseException", NULL);
cb_exception_ce = zap_zend_register_internal_class_ex(&cbe,
zend_exception_get_default());
Expected result:
----------------
Method [ <internal:Core, inherits Exception, ctor> public method
__construct ] {
Actual result:
--------------
Method [ <internal:Core, inherits Exception, ctor> <visibility error>
method __construct ] {
--
Edit bug report at https://bugs.php.net/bug.php?id=73249&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73249&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73249&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73249&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=73249&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=73249&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=73249&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=73249&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=73249&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=73249&r=support
Expected behavior: https://bugs.php.net/fix.php?id=73249&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=73249&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=73249&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=73249&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73249&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=73249&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=73249&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=73249&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73249&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=73249&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=73249&r=mysqlcfg