|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-07-25 19:54 UTC] helly@php.net
[2004-07-26 02:35 UTC] Jared dot Williams1 at ntlworld dot com
[2004-07-26 03:18 UTC] helly@php.net
[2004-07-26 13:07 UTC] Jared dot Williams1 at ntlworld dot com
[2004-08-02 18:27 UTC] helly@php.net
[2004-08-03 15:20 UTC] Jared dot Williams1 at ntlworld dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 16:00:02 2025 UTC |
Description: ------------ Exception class constructor when inspected via the Reflection api, seems to be both marked a public and protected. Reproduce code: --------------- $exceptionClass = new ReflectionClass('Exception'); $exceptionConstructor = $exceptionClass->getConstructor(); var_dump($exceptionConstructor->isPublic()); var_dump($exceptionConstructor->isProtected()); Expected result: ---------------- bool(true) bool(false) or bool(false) bool(true) Actual result: -------------- bool(true) bool(true)