tidy::__construct

(PHP 5, PHP 7, PECL tidy >= 0.5.2) Constructs a new tidy object tidy::__construct ([ string $filename [, mixed $config [, string $encoding [, bool $use_include_path ]]]] ) Constructs a new tidy object. Parameters: filename If the filename parameter is given, this function will also read that file and initialize the object with the file, acting like tidy_parse_file().

tidy::cleanRepair

(PHP 5, PHP 7, PECL tidy >= 0.5.2) Execute configured cleanup and repair operations on parsed markup bool tidy::cleanRepair ( void ) Object oriented style Procedural style bool tidy_clean_repair ( tidy $object ) This function cleans and repairs the given tidy object. Parameters: object The Tidy object. Returns: Returns TRUE on success or FALS

tidy::body

(PHP 5, PHP 7, PECL tidy 0.5.2-1.0) Returns a tidyNode object starting from the <body> tag of the tidy parse tree tidyNode tidy::body ( void ) Object oriented style Procedural style tidyNode tidy_get_body ( tidy $object ) Returns a tidyNode object starting from the <body> tag of the tidy parse tree. Parameters: object The Tidy object. Retu

stream_wrapper_unregister

(PHP 5 >= 5.1.0, PHP 7) Unregister a URL wrapper bool stream_wrapper_unregister ( string $protocol ) Allows you to disable an already defined stream wrapper. Once the wrapper has been disabled you may override it with a user-defined wrapper using stream_wrapper_register() or reenable it later on with stream_wrapper_restore(). Parameters: protocol Allows you to disable

stream_wrapper_restore

(PHP 5 >= 5.1.0, PHP 7) Restores a previously unregistered built-in wrapper bool stream_wrapper_restore ( string $protocol ) Restores a built-in wrapper previously unregistered with stream_wrapper_unregister(). Parameters: protocol Restores a built-in wrapper previously unregistered with stream_wrapper_unregister(). Returns: Returns TRUE on su

stream_wrapper_register

(PHP 4 >= 4.3.2, PHP 5, PHP 7) Register a URL wrapper implemented as a PHP class bool stream_wrapper_register ( string $protocol, string $classname [, int $flags = 0 ] ) Allows you to implement your own protocol handlers and streams for use with all the other filesystem functions (such as fopen(), fread() etc.). Parameters: protocol The wrapper name to be registered.

stream_supports_lock

(PHP 5 >= 5.3.0, PHP 7) Tells whether the stream supports locking. bool stream_supports_lock ( resource $stream ) Tells whether the stream supports locking through flock(). Parameters: stream The stream to check. Returns: Returns TRUE on success or FALSE on failure. See also:

stream_socket_shutdown

(PHP 5 >= 5.2.1, PHP 7) Shutdown a full-duplex connection bool stream_socket_shutdown ( resource $stream, int $how ) Shutdowns (partially or not) a full-duplex connection. Parameters: stream An open stream (opened with stream_socket_client(), for example) how One of the following constants: STREAM_SHUT_RD (disable further receptions)

stream_socket_server

(PHP 5, PHP 7) Create an Internet or Unix domain server socket resource stream_socket_server ( string $local_socket [, int &$errno [, string &$errstr [, int $flags = STREAM_SERVER_BIND | STREAM_SERVER_LISTEN [, resource $context ]]]] ) Creates a stream or datagram socket on the specified local_socket. This function only creates a socket, to begin accepting connections use stream_socket_accept(). P

stream_socket_sendto

(PHP 5, PHP 7) Sends a message to a socket, whether it is connected or not int stream_socket_sendto ( resource $socket, string $data [, int $flags = 0 [, string $address ]] ) Sends the specified data through the socket. Parameters: socket The socket to send data to. data The data to be sent. flags T