note 129298 added to control-structures.for

From: Date: Sat, 02 Mar 2024 17:25:41 +0000
Subject: note 129298 added to control-structures.for
Groups: php.notes 
Request: Send a blank email to php-notes+get-221218@lists.php.net to get a copy of this message
<?php // slow for ($i = 0; $i < count($data); $i++) { // do something with data } // fast for ($i = 0, $cnt = count($data); $i < $cnt; $i++) { // do something with data } ?> ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.13.131 (proxied: 92.126.211.147) ---- Manual Page -- https://php.net/manual/en/control-structures.for.php Edit -- https://main.php.net/note/edit/129298 Del: integrated -- https://main.php.net/note/delete/129298/integrated Del: useless -- https://main.php.net/note/delete/129298/useless Del: bad code -- https://main.php.net/note/delete/129298/bad+code Del: spam -- https://main.php.net/note/delete/129298/spam Del: non-english -- https://main.php.net/note/delete/129298/non-english Del: in docs -- https://main.php.net/note/delete/129298/in+docs Del: other reasons-- https://main.php.net/note/delete/129298 Reject -- https://main.php.net/note/reject/129298 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221218) next »