Re: [PHP] Detecting Multi-Scope Variables

2011-02-01 Thread Brad Lorge
: -Original Message- From: Brad Lorge [mailto:b...@lorge.com.au] Sent: Monday, January 31, 2011 9:53 PM To: php-general@lists.php.net Subject: [PHP] Detecting Multi-Scope Variables Hello All, I am new to the list so please be gentle :) I am working on a PHP framework and have

Re: [PHP] Detecting Multi-Scope Variables

2011-02-01 Thread Ashley Sheridan
Pham tommy...@gmail.com wrote: -Original Message- From: Brad Lorge [mailto:b...@lorge.com.au] Sent: Monday, January 31, 2011 9:53 PM To: php-general@lists.php.net Subject: [PHP] Detecting Multi-Scope Variables Hello All, I am new to the list so please be gentle :) I am

Re: [PHP] Detecting Multi-Scope Variables

2011-02-01 Thread Brad Lorge
, January 31, 2011 9:53 PM To: php-general@lists.php.net Subject: [PHP] Detecting Multi-Scope Variables Hello All, I am new to the list so please be gentle :) I am working on a PHP framework and have run up against a functionality hurdle which I keep falling at. Basically, I

Re: [PHP] Detecting Multi-Scope Variables

2011-02-01 Thread David Harkness
I think you can use reflection [1] to block the hooks from using in their parameter lists. This way the clients must use to pass a reference. This is definitely possible for function/method callbacks [2], but I'm not sure about 5.3 closures [3]. David [1]

[PHP] Detecting Multi-Scope Variables

2011-01-31 Thread Brad Lorge
Hello All, I am new to the list so please be gentle :) I am working on a PHP framework and have run up against a functionality hurdle which I keep falling at. Basically, I have three mechanisms which all function in a similar way and require this functionality: templating, event handling and