note 113783 added to arrayiterator.offsetset
| From: | higherphp.blogspot.com | Date: | Sat, 30 Nov 2013 14:02:22 +0000 |
| Subject: | note 113783 added to arrayiterator.offsetset | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-197671@lists.php.net to get a copy of this message | ||
$studentMark=array("Tuhin"=>74,"Zahurul Islalm"=>85,"Liton
Vai"=>58,"Shabuj"=>96);
//if key exist than it will replace new value to old value
$markST->offsetSet("Shabuj",69);
print_r($markST);
//if key not exist it will create and push to the end of array
$markST->offsetSet("naj",99);
print_r($markST);
----
Server IP: 64.71.164.2
Probable Submitter: 103.31.177.42
----
Manual Page -- http://php.net/manual/en/arrayiterator.offsetset.php
Edit -- https://master.php.net/note/edit/113783
Del: integrated -- https://master.php.net/note/delete/113783/integrated
Del: useless -- https://master.php.net/note/delete/113783/useless
Del: bad code -- https://master.php.net/note/delete/113783/bad+code
Del: spam -- https://master.php.net/note/delete/113783/spam
Del: non-english -- https://master.php.net/note/delete/113783/non-english
Del: in docs -- https://master.php.net/note/delete/113783/in+docs
Del: other reasons-- https://master.php.net/note/delete/113783
Reject -- https://master.php.net/note/reject/113783
Search -- https://master.php.net/manage/user-notes.php