Re: [PHP-DEV] Again scope

2003-02-02 Thread Andi Gutmans
At 10:20 PM 2/2/2003 +0100, Maxim Maletsky wrote: On Sun, 2 Feb 2003 22:06:24 +0100 (CET) Derick Rethans <[EMAIL PROTECTED]> wrote: > On Sun, 2 Feb 2003, Maxim Maletsky wrote: > > > stranno, dovrebbe comunque funzionare datto che ZEND_CHANGES.txt ha quasi > > un anno mentre il tuo CVS checkout e

Re: [PHP-DEV] Again scope

2003-02-02 Thread Maxim Maletsky
On Sun, 2 Feb 2003 22:06:24 +0100 (CET) Derick Rethans <[EMAIL PROTECTED]> wrote: > On Sun, 2 Feb 2003, Maxim Maletsky wrote: > > > stranno, dovrebbe comunque funzionare datto che ZEND_CHANGES.txt ha quasi > > un anno mentre il tuo CVS checkout e, credo, sia un sacco piu fresco. > > Sicuro che n

Re: [PHP-DEV] Again scope

2003-02-02 Thread Derick Rethans
On Sun, 2 Feb 2003, Maxim Maletsky wrote: > stranno, dovrebbe comunque funzionare datto che ZEND_CHANGES.txt ha quasi > un anno mentre il tuo CVS checkout e, credo, sia un sacco piu fresco. > Sicuro che non funzioni? No problem if you answer in italian, but there is no need to CC the list then :

Re: [PHP-DEV] Again scope

2003-02-02 Thread Maxim Maletsky
stranno, dovrebbe comunque funzionare datto che ZEND_CHANGES.txt ha quasi un anno mentre il tuo CVS checkout e, credo, sia un sacco piu fresco. Sicuro che non funzioni? --- Maxim Maletsky [EMAIL PROTECTED] On 02 Feb 2003 21:56:08 +0100 michel 'ziobudda' morelli <[EMAIL PROTECTED]> wrote: > Il d

Re: [PHP-DEV] Again scope

2003-02-02 Thread michel 'ziobudda' morelli
Il dom, 2003-02-02 alle 21:31, Maxim Maletsky ha scritto: > da http://www.php.net/ZEND_CHANGES.txt > > > class FooClass { > function foo() { > $this->bar(); > bar(); > } > > function

Re: [PHP-DEV] Again scope

2003-01-31 Thread Maxim Maletsky
dovrebbe essere: foo2."\n"; print "Bar"; } Function Bar2() { $foo2="foo2"; $this->Bar(); } } $f = new foo; $f->Bar2(); ?> -- Maxim Maletsky [EMAIL PROTECTED] michel 'ziobudda' morelli <[EMAIL PROTECTED]> wrote... : > Class Foo { > var $foo2; > > Function Bar() > { > echo

Re: [PHP-DEV] Again scope

2003-01-31 Thread Xavier Spriet
This isn't a PHP problem. use $this->Bar(); on line 14 On Fri, 2003-01-31 at 15:03, michel 'ziobudda' morelli wrote: > Class Foo { > var $foo2; > > Function Bar() > { > echo $foo2."\n"; > print "Bar"; > } > > Function Bar2() > { > $foo2="foo2"; > Bar(); > } > } > > $f = new foo

[PHP-DEV] Again scope

2003-01-31 Thread michel 'ziobudda' morelli
Bar2(); ?> give me this error: Fatal error: Call to undefined function: bar() in /home/httpd/html/PHP/test/3.php on line 14 I'm using php-cli from cvs (2 weeks ago). And there is a variable scope (for the class). -- michel 'ziobudda' morelli <[EMAIL PROTECTED]> -- PHP Development Maili