Re: Resource id #12 - Mailing list pgsql-php

From Andrew McMillan
Subject Re: Resource id #12
Date
Msg-id 1089617916.28514.135.camel@lamb.mcmillan.net.nz
Whole thread Raw
In response to Resource id #12  ("Elijah O. Alcantara" <elijah@asti.dost.gov.ph>)
Responses Re: Resource id #12
List pgsql-php
On Mon, 2004-07-12 at 13:20 +0800, Elijah O. Alcantara wrote:
> Mind if I ask another question? I've been logging errors lately and
> found a 'Resource id #12' in one of the query results, what does this
> mean?

That's what you get when you try and print something that shouldn't
really be printed.  Generally complex objects where there is little
value implementing some more complex behaviour when passed to the print
routines.

Knowing the id# is about as useful as it can get, for when you need to
see if it's the same resource as a different whatever-it-is.

Cheers,
                    Andrew.

-------------------------------------------------------------------------
Andrew @ Catalyst .Net .NZ  Ltd,  PO Box 11-053, Manners St,  Wellington
WEB: http://catalyst.net.nz/            PHYS: Level 2, 150-154 Willis St
DDI: +64(4)803-2201      MOB: +64(272)DEBIAN      OFFICE: +64(4)499-2267
      Make things as simple as possible, but no simpler -- Einstein
-------------------------------------------------------------------------

Attachment

pgsql-php by date:

Previous
From: "Elijah O. Alcantara"
Date:
Subject: Resource id #12
Next
From: "Elijah O. Alcantara"
Date:
Subject: Re: Resource id #12