PHP 8.5.0 Alpha 4 available for testing

Voting

: one minus zero?
(Example: nine)

The Note You're Voting On

Robc
14 years ago
The description says that compact is the opposite of extract() but it is important to understand that it does not completely reverse extract(). In particluar compact() does not unset() the argument variables given to it (and that extract() may have created). If you want the individual variables to be unset after they are combined into an array then you have to do that yourself.

<< Back to user notes page

To Top