note 129346 added to wrappers.glob

From: Date: Fri, 22 Mar 2024 16:53:47 +0000
Subject: note 129346 added to wrappers.glob
Groups: php.notes 
Request: Send a blank email to php-notes+get-221252@lists.php.net to get a copy of this message
// this is an example for Darwin (iOS) file system <?php $it=new DirectoryIterator("glob:///Users/hybrid/projects/backupfiles/*.py"); print("\nHere's is the example for memory occupied in kilobytes"."\n\n"); foreach($it as $f) { // output in kilobytes printf("%s: %.1FK\n", $f->getFilename(), $f->getSize()/1024); } print("\nHere's is the example for memory occupied in bytes"."\n\n"); foreach($it as $f) { // output in kilobytes printf("%s: %.1FK\n", $f->getFilename(), $f->getSize()); } ?> ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.13.131 (proxied: 152.58.199.160) ---- Manual Page -- https://php.net/manual/en/wrappers.glob.php Edit -- https://main.php.net/note/edit/129346 Del: integrated -- https://main.php.net/note/delete/129346/integrated Del: useless -- https://main.php.net/note/delete/129346/useless Del: bad code -- https://main.php.net/note/delete/129346/bad+code Del: spam -- https://main.php.net/note/delete/129346/spam Del: non-english -- https://main.php.net/note/delete/129346/non-english Del: in docs -- https://main.php.net/note/delete/129346/in+docs Del: other reasons-- https://main.php.net/note/delete/129346 Reject -- https://main.php.net/note/reject/129346 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221252) next »