| Newsgroups |
php.notes |
| Message-ID |
<[email protected]> |
If you want to collect all of the variables defined in the current scope into an array, use get_defined_vars(). It works similar to compact(), but doesn't require a list of variables to be passed.
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 2605:9480:124:3c80:914c:897b:aab6:b97e)
----
Manual Page -- https://php.net/manual/en/function.compact.php
Edit -- https://main.php.net/note/edit/130437
Del: integrated -- https://main.php.net/note/delete/130437/integrated
Del: useless -- https://main.php.net/note/delete/130437/useless
Del: bad code -- https://main.php.net/note/delete/130437/bad+code
Del: spam -- https://main.php.net/note/delete/130437/spam
Del: non-english -- https://main.php.net/note/delete/130437/non-english
Del: in docs -- https://main.php.net/note/delete/130437/in+docs
Del: other reasons-- https://main.php.net/note/delete/130437
Reject -- https://main.php.net/note/reject/130437
Search -- https://main.php.net/manage/user-notes.php