note 129925 added to arrayiterator.offsetget

From: Date: Fri, 20 Dec 2024 14:00:07 +0000
Subject: note 129925 added to arrayiterator.offsetget
Groups: php.notes 
Request: Send a blank email to php-notes+get-221732@lists.php.net to get a copy of this message
Just an example: <?php $array = ['a', 'b', 'c']; $arrayIterator = new ArrayIterator($array); $first = $arrayIterator->offsetGet(0); var_dump($first); // OUTPUT: string(1) "a" ?> ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.5.137 (proxied: 31.20.62.138) ---- Manual Page -- https://php.net/manual/en/arrayiterator.offsetget.php Edit -- https://main.php.net/note/edit/129925 Del: integrated -- https://main.php.net/note/delete/129925/integrated Del: useless -- https://main.php.net/note/delete/129925/useless Del: bad code -- https://main.php.net/note/delete/129925/bad+code Del: spam -- https://main.php.net/note/delete/129925/spam Del: non-english -- https://main.php.net/note/delete/129925/non-english Del: in docs -- https://main.php.net/note/delete/129925/in+docs Del: other reasons-- https://main.php.net/note/delete/129925 Reject -- https://main.php.net/note/reject/129925 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221732) next »