On Wed, 11 Aug 2004 09:14:08 -0600, Jed R. Brubaker
<[EMAIL PROTECTED]> wrote:
> Hi all. As the subject suggests, I am using PHP4 and am having something
> going on that I don't think should be.
>
> Presume the following code
> class Foo {
> function Foo () {
> return "Bar";
You shoul
Yup, i typo'd .. should have read, Im not sure you should be returning a
value..
Jason
Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote:
>
> * Jason Davidson <[EMAIL PROTECTED]>:
> > Im sure you should be returning a value in your constructor at all?? Ill
> > check the manual, but i dont
On Wed, 2004-08-11 at 11:14, Jed R. Brubaker wrote:
> Hi all. As the subject suggests, I am using PHP4 and am having something
> going on that I don't think should be.
>
> Presume the following code
> class Foo {
> function Foo () {
> return "Bar";
> }
> }
> $foo = new Foo;
> echo
* Jason Davidson <[EMAIL PROTECTED]>:
> Im sure you should be returning a value in your constructor at all?? Ill
> check the manual, but i dont think ive ever seen a constructor return
> anything, doesnt sound right.. Let me check.
>From my experience, returning a value from a constructor currentl
Im sure you should be returning a value in your constructor at all?? Ill
check the manual, but i dont think ive ever seen a constructor return
anything, doesnt sound right.. Let me check.
Jason
"Jed R. Brubaker" <[EMAIL PROTECTED]> wrote:
>
> Hi all. As the subject suggests, I am using PHP4 and
[snip]
Hi all. As the subject suggests, I am using PHP4 and am having something
going on that I don't think should be.
Presume the following code
class Foo {
function Foo () {
return "Bar";
}
}
$foo = new Foo;
echo $foo;
$foo comes out as an object. Does this have to be done in tw
6 matches
Mail list logo