PHP funkce constant()
/ public function filter($in, $out, &$consumed, $closing) { }
Dostupnost ve verzích: PHP 4.0.4
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$name |
string |
není | The constant name. |
Návratové hodnoty
- int
The filter() method must return one of three values upon completion.
| Return Value | Meaning |
|---|---|
| PSFS_PASS_ON |
Filter processed successfully with data available in the
out bucket brigade.
|
| PSFS_FEED_ME | Filter processed successfully, however no data was available to return. More data is required from the stream or prior filter. |
| PSFS_ERR_FATAL (default) | The filter experienced an unrecoverable error and cannot continue. |