note 130827 added to reflectionmethod.invoke

From: Date: Wed, 24 Jun 2026 00:59:47 +0000
Subject: note 130827 added to reflectionmethod.invoke
Groups: php.notes 
Request: Send a blank email to php-notes+get-222614@lists.php.net to get a copy of this message
I use invoke() to call private method and it works fine without setAccessible() as of PHP 8.3 https://www.php.net/manual/en/reflectionmethod.setaccessible.php ---- Server IP: 2a03:b0c0:2:f0:0:1:a983:a001 (proxied: BunnyCDN) Probable Submitter: 2607:f2c0:e035:f020:7199:8616:2672:5ce7 ---- Manual Page -- https://php.net/manual/en/reflectionmethod.invoke.php Edit -- https://main.php.net/note/edit/130827 Del: integrated -- https://main.php.net/note/delete/130827/integrated Del: useless -- https://main.php.net/note/delete/130827/useless Del: bad code -- https://main.php.net/note/delete/130827/bad+code Del: spam -- https://main.php.net/note/delete/130827/spam Del: non-english -- https://main.php.net/note/delete/130827/non-english Del: in docs -- https://main.php.net/note/delete/130827/in+docs Del: other reasons-- https://main.php.net/note/delete/130827 Reject -- https://main.php.net/note/reject/130827 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#222614) next »