Gen. partnerAlgotech

PHP funkce constant()

/ public function filter($in, $out, &$consumed, $closing) { }

|
11. září 2019

Dostupnost ve verzích: PHP 4.0.4

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$name string není The constant name.
  • int

    The filter() method must return one of three values upon completion.

    / public function filter($in, $out, &$consumed, $closing) { }

    /**

    • bool / public function onCreate() { }

    /**

    • string
    • mixed the value of the constant, or &null; if the constant is not defined.

    Další zdroje

    }

    /** Instances of Directory are created by calling the dir() function, not by the new operator. / class Directory {

    /**

    /** Rewind directory handle. Same as rewinddir(), only dir_handle defaults to $this.

    /** Read entry from directory handle. Same as readdir(), only dir_handle defaults to $this.

    }

    /** Returns the value of a constant

    Načítání komentářů...

    Zůstaňte v obraze

    Přihlaste se k odběru našeho newsletteru a získejte nejnovější informace o kybernetické bezpečnosti přímo do vaší e-mailové schránky.

    Vaše údaje jsou v bezpečí. Newsletter můžete kdykoliv odhlásit.

    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.