PHP Doku:: Find pathnames matching pattern - wrappers.glob.html
Aktuelle Suchanfrage: 21009b70229598c6a80eef8b45bf282b-imagearc png - 8 Treffer
  1 imagearc
Draws an arc - function.imagearc.html
  2 imagechar
Stellt ein Zeichen horizontal dar - function.imagechar.html
  3 imageantialias
Should antialias functions be used or not - function.imageantialias.html
  4 imageellipse
Draw an ellipse - function.imageellipse.html
  5 Liste der Ressource-Typen
Liste der Ressource-Typen - resource.html
  6 Funktionsindex
Funktionsindex - indexes.html
  7 Bildbearbeitung und GD
Bildbearbeitung und GD - book.image.html
  8 GD- und Image-Funktionen
GD- und Image-Funktionen - ref.image.html

Bisherige Suchanfragen: (7) anzeigen

Verlauf / Chronik / History: (13) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchSprachreferenzSupported Protocols and WrappersGlob

Ein Service von Reinhard Neidl - Webprogrammierung.

Supported Protocols and Wrappers

<<data://

phar://>>

Glob

GlobFind pathnames matching pattern

Beschreibung

The glob: stream wrapper is available since PHP 5.3.0.

Optionen

  • glob://

Optionen

Wrapper Summary
Attribute Supported
Restricted by allow_url_fopen No
Restricted by allow_url_include No
Allows Reading No
Allows Writing No
Allows Appending No
Allows Simultaneous Reading and Writing No
Supports stat() No
Supports unlink() No
Supports rename() No
Supports mkdir() No
Supports rmdir() No

Beispiele

Beispiel #1 Basic usage

<?php
// Loop over all *.php files in ext/spl/examples/ directory
// and print the filename and its size
$it = new DirectoryIterator("glob://ext/spl/examples/*.php");
foreach(
$it as $f) {
    
printf("%s: %.1FK\n"$f->getFilename(), $f->getSize()/1024);
}
?>
tree.php: 1.0K
findregex.php: 0.6K
findfile.php: 0.7K
dba_dump.php: 0.9K
nocvsdir.php: 1.1K
phar_from_dir.php: 1.0K
ini_groups.php: 0.9K
directorytree.php: 0.9K
dba_array.php: 1.1K
class_tree.php: 1.8K

Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)