ConFoo Montreal 2026: Call for Papers

Voting

: max(eight, three)?
(Example: nine)

The Note You're Voting On

Adam Monsen <adamm at wazamatta dot com>
20 years ago
As shown in the example, if your 'prefix' is used, a single underscore is added to the name of the extracted variable. Meaning, a prefix of 'p' becomes a prefix of 'p_', so 'blarg' prefixed would be 'p_blarg'.

If you're not sure what variables you've created through extraction, you can call get_defined_vars() to see all defined variables in the current scope.

<< Back to user notes page

To Top