Re: [PHP-DEV] RFE: trigger_error()

2003-01-27 Thread michel 'ziobudda' morelli
Il lun, 2003-01-27 alle 22:06, Sebastian Bergmann ha scritto: > michel 'ziobudda' morelli wrote: > > Can you explain me this new function ? > > See http://cvs.php.net/co.php/ZendEngine2/ZEND_CHANGES >From that page I read about __set() but I have not understand one thing: $foo = new Setter();

Re: [PHP-DEV] RFE: trigger_error()

2003-01-27 Thread Sebastian Bergmann
michel 'ziobudda' morelli wrote: > Can you explain me this new function ? See http://cvs.php.net/co.php/ZendEngine2/ZEND_CHANGES -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergm

Re: [PHP-DEV] RFE: trigger_error()

2003-01-27 Thread michel 'ziobudda' morelli
Il lun, 2003-01-27 alle 21:53, Sebastian Bergmann ha scritto: > michel 'ziobudda' morelli wrote: > > is this avaible only into PHP5 ?? > > Yes. > > > There is a __unset() function? > > No, there are __get(), __set() and __call() interceptors. Can you explain me this new function ? I have u

Re: [PHP-DEV] RFE: trigger_error()

2003-01-27 Thread Sebastian Bergmann
Zeev Suraski wrote: > Why? Because test = 'test'; ?> bypasses the PHP error system. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP Development Mailin

Re: [PHP-DEV] RFE: trigger_error()

2003-01-27 Thread Antony Dovgal
On Mon, 27 Jan 2003 13:29:49 +0100 Sebastian Bergmann <[EMAIL PROTECTED]> wrote: > Right now if one uses trigger_error() to trigger an error the > line number that gets displayed is that of the trigger_error() line. > > Would it be possible to add additional parameters to trigger_error() >

Re: [PHP-DEV] RFE: trigger_error()

2003-01-27 Thread Zeev Suraski
At 14:29 27/01/2003, Sebastian Bergmann wrote: Right now if one uses trigger_error() to trigger an error the line number that gets displayed is that of the trigger_error() line. Would it be possible to add additional parameters to trigger_error() to pass a filename and a line number to it

[PHP-DEV] RFE: trigger_error()

2003-01-27 Thread Sebastian Bergmann
Right now if one uses trigger_error() to trigger an error the line number that gets displayed is that of the trigger_error() line. Would it be possible to add additional parameters to trigger_error() to pass a filename and a line number to it? -- Sebastian Bergmann http://sebastian-b