note 100135 added to splobjectstorage.getinfo

From: Date: Mon, 27 Sep 2010 18:53:07 +0000
Subject: note 100135 added to splobjectstorage.getinfo
Groups: php.notes 
Request: Send a blank email to php-notes+get-172745@lists.php.net to get a copy of this message
This method, SplObjectStorage::getInfo() does NOT exist on PHP 5.2.13. However, PHP 5.3.2 and above does have it. To find out yourself, use this snippet. $> php -r "print_r(get_class_methods(new SplObjectStorage()));" Results for PHP 5.2.13 ==== Array ( [0] => attach [1] => detach [2] => contains [3] => count [4] => rewind [5] => valid [6] => key [7] => current [8] => next [9] => unserialize [10] => serialize ) Results for PHP 5.3.2 ===== Array ( [0] => attach [1] => detach [2] => contains [3] => addAll [4] => removeAll [5] => getInfo [6] => setInfo [7] => count [8] => rewind [9] => valid [10] => key [11] => current [12] => next [13] => unserialize [14] => serialize [15] => offsetExists [16] => offsetSet [17] => offsetUnset [18] => offsetGet ) ---- Server IP: 192.41.42.26 Probable Submitter: 159.125.79.36 ---- Manual Page -- http://www.php.net/manual/en/splobjectstorage.getinfo.php Edit -- https://master.php.net/note/edit/100135 Del: integrated -- https://master.php.net/note/delete/100135/integrated Del: useless -- https://master.php.net/note/delete/100135/useless Del: bad code -- https://master.php.net/note/delete/100135/bad+code Del: spam -- https://master.php.net/note/delete/100135/spam Del: non-english -- https://master.php.net/note/delete/100135/non-english Del: in docs -- https://master.php.net/note/delete/100135/in+docs Del: other reasons-- https://master.php.net/note/delete/100135 Reject -- https://master.php.net/note/reject/100135 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#172745) next »