base64_decode

(PHP 4, PHP 5, PHP 7) Decodes data encoded with MIME base64 string base64_decode ( string $data [, bool $strict = false ] ) Decodes a base64 encoded data. Parameters: data The encoded data. strict Returns FALSE if input contains character from outside the base64 alphabet. Returns: Returns the original data or

token_name

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Get the symbolic name of a given PHP token string token_name ( int $token ) token_name() gets the symbolic name for a PHP token value. Parameters: token The token value. Returns: The symbolic name of the given token. Examples: token_name() example

token_get_all

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Split given source into PHP tokens array token_get_all ( string $source [, int $flags = 0 ] ) token_get_all() parses the given source string into PHP language tokens using the Zend engine's lexical scanner. For a list of parser tokens, see List of Parser Tokens, or use token_name() to translate a token value into its string representation. Parameters:

tidy_warning_count

(PHP 5, PHP 7, PECL tidy >= 0.5.2) Returns the Number of Tidy warnings encountered for specified document int tidy_warning_count ( tidy $object ) Returns the number of Tidy warnings encountered for the specified document. Parameters: object The Tidy object. Returns: Returns the number of warnings.

tidy_setopt

(PECL tidy >= 0.5.2) Updates the configuration settings for the specified tidy document bool tidy_setopt ( string $option, mixed $value ) tidy_setopt() updates the specified option with a new value. Parameters: option The tidy option name. A list of available configuration options may be found at: » http://tidy.sourceforge.net/docs/quickref.html.

tidy_set_encoding

(PECL tidy >= 0.5.2) Set the input/output character encoding for parsing markup bool tidy_set_encoding ( string $encoding ) Sets the encoding for input/output documents. Parameters: encoding The encoding parameter sets the encoding for input/output documents. The possible values for encoding are: ascii, latin0, latin1, raw, utf8, iso2022, mac, win1252, ibm858, utf16, u

tidy_save_config

(PECL tidy >= 0.5.2) Save current settings to named file bool tidy_save_config ( string $filename ) Saves current settings to the specified file. Only non-default values are written. Parameters: filename Path to the config file. Returns: Returns TRUE on success or FALSE on failure. Notes: This fu

tidy_reset_config

(PECL tidy >= 0.7.0) Restore Tidy configuration to default values bool tidy_reset_config ( void ) This function restores the Tidy configuration to the default values. Returns: Returns TRUE on success or FALSE on failure. Notes: This function is only available in Tidy 1.0. It became obsolete in Tidy 2.0, and thus has been removed.

tidy_load_config

(PECL tidy >= 0.5.2) Load an ASCII Tidy configuration file with the specified encoding void tidy_load_config ( string $filename, string $encoding ) Loads a Tidy configuration file, with the specified encoding. Parameters: filename Loads a Tidy configuration file, with the specified encoding. encoding Loads a Tidy configuration file,

tidy_get_output

(PHP 5, PHP 7, PECL tidy >= 0.5.2) Return a string representing the parsed tidy markup string tidy_get_output ( tidy $object ) Gets a string with the repaired html. Parameters: object The Tidy object. Returns: Returns the parsed tidy markup. Examples: tidy_get_output() example