php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
dir.stub.php
Go to the documentation of this file.
1<?php
2
4
9const DIRECTORY_SEPARATOR = UNKNOWN;
14const PATH_SEPARATOR = UNKNOWN;
15
16#ifdef HAVE_GLOB
17#if (defined(GLOB_BRACE) && GLOB_BRACE != 0)
22const GLOB_BRACE = UNKNOWN;
23#endif
24#if (defined(GLOB_ERR) && GLOB_ERR != 0)
29const GLOB_ERR = UNKNOWN;
30#endif
31#if (defined(GLOB_MARK) && GLOB_MARK != 0)
36const GLOB_MARK = UNKNOWN;
37#endif
38#if (defined(GLOB_NOCHECK) && GLOB_NOCHECK != 0)
43const GLOB_NOCHECK = UNKNOWN;
44#endif
45#if (defined(GLOB_NOESCAPE) && GLOB_NOESCAPE != 0)
50const GLOB_NOESCAPE = UNKNOWN;
51#endif
52#if (defined(GLOB_NOSORT) && GLOB_NOSORT != 0)
57const GLOB_NOSORT = UNKNOWN;
58#endif
59#ifdef GLOB_ONLYDIR
64const GLOB_ONLYDIR = UNKNOWN;
65#endif
66#ifdef GLOB_AVAILABLE_FLAGS
71const GLOB_AVAILABLE_FLAGS = UNKNOWN;
72#endif
73#endif
78const SCANDIR_SORT_ASCENDING = UNKNOWN;
88const SCANDIR_SORT_NONE = UNKNOWN;
89
91{
92 public readonly string $path;
93
95 public readonly mixed $handle;
96
101 public function close(): void {}
102
107 public function rewind(): void {}
108
113 public function read(): string|false {}
114}
readonly mixed $handle
Definition dir.stub.php:95
readonly string $path
Definition dir.stub.php:92
const PATH_SEPARATOR
Definition dir.stub.php:14
const DIRECTORY_SEPARATOR
Definition dir.stub.php:9
const GLOB_AVAILABLE_FLAGS
Definition dir.stub.php:71
const SCANDIR_SORT_NONE
Definition dir.stub.php:88
const SCANDIR_SORT_ASCENDING
Definition dir.stub.php:78
const GLOB_ONLYDIR
Definition dir.stub.php:64
const SCANDIR_SORT_DESCENDING
Definition dir.stub.php:83
#define GLOB_NOSORT
Definition glob.h:78
#define GLOB_BRACE
Definition glob.h:82
#define GLOB_ERR
Definition glob.h:75
#define GLOB_MARK
Definition glob.h:76
#define GLOB_NOESCAPE
Definition glob.h:87
#define GLOB_NOCHECK
Definition glob.h:77
phar_globals readonly
Definition phar.c:3346
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)
function(EX_VAR(opline->result.var))