note 129347 added to wrappers.glob

From: Date: Fri, 22 Mar 2024 16:54:46 +0000
Subject: note 129347 added to wrappers.glob
Groups: php.notes 
Request: Send a blank email to php-notes+get-221253@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/129347 Del: integrated -- https://main.php.net/note/delete/129347/integrated Del: useless -- https://main.php.net/note/delete/129347/useless Del: bad code -- https://main.php.net/note/delete/129347/bad+code Del: spam -- https://main.php.net/note/delete/129347/spam Del: non-english -- https://main.php.net/note/delete/129347/non-english Del: in docs -- https://main.php.net/note/delete/129347/in+docs Del: other reasons-- https://main.php.net/note/delete/129347 Reject -- https://main.php.net/note/reject/129347 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221253) next »