FILEINFO_NONE
FILEINFO_NONE = 0
cfw_batch_yield(int $ops) : bool
Whether _batch_process() should end this request, read after every operation.
Yields on the operation count or when the host reports the isolate near its ceiling, whichever comes first; memory_get_usage() reads 0 in this build, so the host is asked.
| int | $ops | Operations run so far in this request. |
cfw_symfony_http_client(array$defaultOptions = []) : object|null
What a delivered symfony/http-client's HttpClient::create() answers with, once rewritten.
| array |
$defaultOptions | The options the caller passed to create(). |
A client, or NULL when the drupflare module is not loaded.
exif_read_data(string|resource $file, string|null $required_sections = null, bool $as_arrays = false, bool $read_thumbnail = false) : array<string,mixed>|false
| string|resource | $file | A path or an open stream. |
| string|null | $required_sections | Comma-separated sections the result must carry. |
| bool | $as_arrays | Return sections as arrays. |
| bool | $read_thumbnail | Also read the embedded thumbnail. |
transliterator_transliterate(object|string $transliterator, string $string, int $start = 0, int $end = -1) : string|false
| object|string | $transliterator | A transliterator or a rule id. |
| string | $string | The text to transliterate. |
| int | $start | First byte to transliterate. |
| int | $end | One past the last byte, or -1 for the rest. |
cfw_sleep_ms(float|int $ms, string $fn) : bool
Waits through the host, or returns at once and records how short it fell.
| float|int | $ms | How long to wait, in milliseconds. |
| string | $fn | The PHP function the caller used, for the degradation row. |
Whether the whole wait happened.
proc_open(array|string $command, array $descriptor_spec, array $pipes, string|null $cwd = null, array |null $env_vars = null, array |null $options = null) : resource|false
| array |
$command | The command line. |
| array |
$descriptor_spec | The pipes to open. |
| array |
$pipes | Set to the opened pipes. |
| string|null | $cwd | Working directory. |
| array |
$env_vars | Environment. |
| array |
$options | Platform options. |