Posted by tony on 10/20/48 11:47
In article <2MN8g.18665$mX1.5242@newsfe2-gui.ntli.net>,
colin.thisisnotmysurname@ntlworld.deletemeunlessURaBot.com says...
> tony@tony.com wrote:
>
> >
> > When debugging the blowfish utility I noticed that
> >
> > $bf = new Crypt_Blowfish($mykey);
> > echo("BF: " . $bf");
> >
> > Outputs the word "OBJECT" on a PHP-4 linux system
> >
> > and "OBJECT id #1" on a windoze PHP-5 system
> >
> > Can anyone confirm this is correct and even better -
> > explain what the output of each is please
> > (I dont understand PHP classes yet)
>
> Yes, both are correct, but the question is wrong - if you want to describe
> an object then give it a method to describe itself. If you want to see
> inside an object then use the var_export() fn.
>
> The difference is related to the change in how objects are referenced in the
> different PHP versions.
>
> C.
>
Thats good to know thanks.
tony
Navigation:
[Reply to this message]
|