note 125571 added to function.uopz-flags
| From: | ASchmidt at Anamera dot net | Date: | Sat, 05 Dec 2020 18:37:42 +0000 |
| Subject: | note 125571 added to function.uopz-flags | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-215939@lists.php.net to get a copy of this message | ||
To clarify the above hint:
"...the class entry of class or the function entry of function is immutable"
Neither PHP class or function definitions have any "immutable" keyword - so this note is
confusing, as it implies that a PHP programmer has any control over this. In reality, the
"immutable" state mentioned is an internally-controlled optimization/shared memory feature
of OPcache.
Consequently, if one has a need to set (alter) the flags of a PHP class or function by means of
"uopz_flags()", then it is necessary to EXCLUDE the PHP script of the referenced class or
function from OPcache, using the "opcache.blacklist_filename" INI parameter.
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.156.130 (proxied: 74.102.115.131)
----
Manual Page -- http://php.net/manual/en/function.uopz-flags.php
Edit -- https://master.php.net/note/edit/125571
Del: integrated -- https://master.php.net/note/delete/125571/integrated
Del: useless -- https://master.php.net/note/delete/125571/useless
Del: bad code -- https://master.php.net/note/delete/125571/bad+code
Del: spam -- https://master.php.net/note/delete/125571/spam
Del: non-english -- https://master.php.net/note/delete/125571/non-english
Del: in docs -- https://master.php.net/note/delete/125571/in+docs
Del: other reasons-- https://master.php.net/note/delete/125571
Reject -- https://master.php.net/note/reject/125571
Search -- https://master.php.net/manage/user-notes.php