On Sun, July 1, 2007 2:18 pm, Pavel Shevaev wrote: > $ php -r "class Foo{};$foo = new Foo();var_dump($foo);" > object(Foo)#1 (0) { > } > > What I actually need, not the object hash but simply its unique id.
According to Marcus, it's NOT unique. But I can see that for debugging, it would be very very very useful to have a correctly named function which returns this number, whatever it is, even if it's not an ID. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php