Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #5738
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | "M. Strobel" <sorry_no_mail_here@nowhere.dee> |
| Newsgroups | comp.lang.php |
| Subject | object id - where? |
| Date | Thu, 26 Apr 2012 11:34:12 +0200 |
| Lines | 19 |
| Message-ID | <9vsj4kFfumU1@mid.uni-berlin.de> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de 578V/FANcSJoPig+gXXmGAwAB0qLQVoCY0LsHUP2Y61XGNO4k= |
| User-Agent | Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 |
| Xref | csiph.com comp.lang.php:5738 |
Show key headers only | View raw
Hi,
is there something like an object id accessible?
Example: I do this
php > $a = new stdclass;
php > $a->b = new stdclass;
php > var_dump($a);
object(stdClass)#1 (1) {
["b"]=>
object(stdClass)#2 (0) {
}
}
php >
and var_dump() shows me unique ids of the classes. Is there a function for it?
/Str.
Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread
object id - where? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-04-26 11:34 +0200
Re: object id - where? Jerry Stuckle <jstucklex@attglobal.net> - 2012-04-26 05:38 -0400
Re: object id - where? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-04-26 11:42 +0200
Re: object id - where? Jerry Stuckle <jstucklex@attglobal.net> - 2012-04-26 20:33 -0400
Re: object id - where? Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2012-04-27 22:07 +0200
Re: object id - where? Goran <goran@nospam.com> - 2012-04-30 13:19 +0200
Re: object id - where? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-04-30 14:43 +0200
csiph-web