Re: [PHP-DEV] Is this a bug?

2003-03-25 Thread Chris Shiflett
--- Tony Bibbs <[EMAIL PROTECTED]> wrote: > Are there instances you all can think of where doing a header('location: > $url'); causes a loss of all session data? This is most likely not a bug. You can (hopefully) find more people to help with this type of question on [EMAIL PROTECTED] Good luck.

Re: [PHP-DEV] Is this a bug?

2001-07-20 Thread Andi Gutmans
At 02:31 PM 7/20/2001 +0200, Sebastian Bergmann wrote: >Andi Gutmans wrote: > > > $foo->$method; // does not work > > > $bar->$method; // does not work > > > > This should be $foo->$method() and $bar->$method() > > Gotcha. This works fine. > How coul

Re: [PHP-DEV] Is this a bug?

2001-07-20 Thread Sebastian Bergmann
Andi Gutmans wrote: > > $foo->$method; // does not work > > $bar->$method; // does not work > > This should be $foo->$method() and $bar->$method() Gotcha. This works fine. How could I forget the braces? -- Sebastian Bergmann

Re: [PHP-DEV] Is this a bug?

2001-07-20 Thread Andi Gutmans
At 11:47 AM 7/20/2001 +0200, Sebastian Bergmann wrote: > class foo { > function bar() { > print 'bar() called'; > } > } > > $foo = new foo(); > $bar =& $foo; > $method = 'bar'; > > $foo->$method; // does not work > $bar