Is there a way to access a variable defined in a function from a nested
function, without putting the variable in the global scope?
Perhaps some code will make my question clearer:

function enclosing() {
        function enclosed() {
                can I access $variable1 from here?



PHP General Mailing List (
To unsubscribe, visit:

Reply via email to