List Info

Thread: note 74210 added to migration52.incompatible




note 74210 added to migration52.incompatible
user name
2007-03-29 22:44:00
It should be noted that if you provide a __toString method,
you can cast the object to a string and use it as an array
key (PHP 5.2.x). 

e.g.   $array[ (string)$myObject ] = 'foobar';

This is an alternative to using spl_object_hash.
----
Server IP: 69.147.83.197
Probable Submitter: 76.173.30.105
----
Manual Page -- http://www.php.net/manual/en/migration52.incompatible.p
hp
Edit        -- https://master
.php.net/note/edit/74210
Del: integrated  -- h
ttps://master.php.net/note/delete/74210/integrated
Del: useless     -- http
s://master.php.net/note/delete/74210/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/74210/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/74210/spam
Del: non-english -- 
https://master.php.net/note/delete/74210/non-english
Del: in docs     -- http
s://master.php.net/note/delete/74210/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/74210
Reject      -- https://mast
er.php.net/note/reject/74210
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )