note 128971 added to function.get-declared-classes

From: Date: Fri, 20 Oct 2023 05:19:15 +0000
Subject: note 128971 added to function.get-declared-classes
Groups: php.notes 
Request: Send a blank email to php-notes+get-220928@lists.php.net to get a copy of this message
Note that this function also counts enums. <?php enum Bla { case Foo; } var_dump(get_declared_classes()); ?> Result: array(116) { ... [115]=> string(3) "Bla" } ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 213.230.76.19) ---- Manual Page -- https://php.net/manual/en/function.get-declared-classes.php Edit -- https://main.php.net/note/edit/128971 Del: integrated -- https://main.php.net/note/delete/128971/integrated Del: useless -- https://main.php.net/note/delete/128971/useless Del: bad code -- https://main.php.net/note/delete/128971/bad+code Del: spam -- https://main.php.net/note/delete/128971/spam Del: non-english -- https://main.php.net/note/delete/128971/non-english Del: in docs -- https://main.php.net/note/delete/128971/in+docs Del: other reasons-- https://main.php.net/note/delete/128971 Reject -- https://main.php.net/note/reject/128971 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220928) next »