note 113783 deleted from arrayiterator.offsetset by salathe
| From: | salathe@php.net | Date: | Sat, 30 Nov 2013 14:09:13 +0000 |
| Subject: | note 113783 deleted from arrayiterator.offsetset by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-197680@lists.php.net to get a copy of this message | ||
Note Submitter: higherphp.blogspot.com
----
$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);