Re: [PHP] Wikimedia - php4

2005-09-20 Thread Robert Cummings
On Wed, 2005-09-21 at 01:20, Rasmus Lerdorf wrote: > Robert Cummings wrote: > > I think you mean novice use. There are certainly times when assigning an > > object to a variable I want all the values currently referring to that > > object to see the update and not just the variable being assigned t

Re: [PHP] Wikimedia - php4

2005-09-20 Thread Rasmus Lerdorf
Robert Cummings wrote: > I think you mean novice use. There are certainly times when assigning an > object to a variable I want all the values currently referring to that > object to see the update and not just the variable being assigned to. I > understand that objects in PHP5 are passed by refere

Re: [PHP] Wikimedia - php4

2005-09-20 Thread Vizion
On Tuesday 20 September 2005 22:14, the author Robert Cummings contributed to the dialogue on- Re: [PHP] Wikimedia - php4: >On Wed, 2005-09-21 at 01:08, Rasmus Lerdorf wrote: >> Robert Cummings wrote: >> > On Wed, 2005-09-21 at 00:58, Rasmus Lerdorf wrote: >> >>

Re: [PHP] Wikimedia - php4

2005-09-20 Thread Robert Cummings
On Wed, 2005-09-21 at 01:08, Rasmus Lerdorf wrote: > Robert Cummings wrote: > > On Wed, 2005-09-21 at 00:58, Rasmus Lerdorf wrote: > > > >>And for PHP5 you can just drop all references related to objects and it > >>will do the right thing. > > > > > > Eeeek, that's not entirely true. Sometimes y

Re: [PHP] Wikimedia - php4

2005-09-20 Thread Rasmus Lerdorf
Robert Cummings wrote: > On Wed, 2005-09-21 at 00:58, Rasmus Lerdorf wrote: > >>And for PHP5 you can just drop all references related to objects and it >>will do the right thing. > > > Eeeek, that's not entirely true. Sometimes you want a real reference to > an object even in PHP5 :/ $a = new f

Re: [PHP] Wikimedia - php4

2005-09-20 Thread Robert Cummings
On Wed, 2005-09-21 at 00:58, Rasmus Lerdorf wrote: > > And for PHP5 you can just drop all references related to objects and it > will do the right thing. Eeeek, that's not entirely true. Sometimes you want a real reference to an object even in PHP5 :/ Cheers, Rob. -- .---

Re: [PHP] Wikimedia - php4

2005-09-20 Thread Rasmus Lerdorf
Vizion wrote: > function &setupTemplate( $classname, $repository=false, > $cache_dir=false ) { > return new $classname(); > ^^ > } Is that really all they have in that function? It seems rather useless to me. Why call a function

Re: [PHP] Wikimedia - php4

2005-09-20 Thread Rasmus Lerdorf
Vizion wrote: > Notice: Only variable references should be returned by reference > in /usr2/virtualwebs/forumkatrina.org/wiki/includes/ObjectCache.php on line > 369 > > Notice: Only variable references should be returned by reference > in /usr2/virtualwebs/forumkatrina.org/wiki/includes/ObjectC

Re: [PHP] Wikimedia - php4

2005-09-20 Thread Vizion
On Tuesday 20 September 2005 19:37, the author Jasper Bryant-Greene contributed to the dialogue on- Re: [PHP] Wikimedia - php4: >Vizion wrote: >> Hi >> >> I have just installed wikimedia on freebsd 5.3 with php4-4.4.0. > >I think you mean MediaWiki (common mistak

Re: [PHP] Wikimedia - php4

2005-09-20 Thread Vizion
On Tuesday 20 September 2005 19:26, the author Vizion contributed to the dialogue on- [PHP] Wikimedia - php4: >Hi > > >I have just installed wikimedia on freebsd 5.3 with php4-4.4.0. > >After starting the program after a "successful" installation I get the error

Re: [PHP] Wikimedia - php4

2005-09-20 Thread Jasper Bryant-Greene
Vizion wrote: Hi I have just installed wikimedia on freebsd 5.3 with php4-4.4.0. I think you mean MediaWiki (common mistake!) After starting the program after a "successful" installation I get the error messages shown below. There are three eror from two lines of code. I have included the

[PHP] Wikimedia - php4

2005-09-20 Thread Vizion
Hi I have just installed wikimedia on freebsd 5.3 with php4-4.4.0. After starting the program after a "successful" installation I get the error messages shown below. There are three eror from two lines of code. I have included the relevant code. Having just started to learn php, I am not com