EventBufferEvent::connect

(PECL event >= 1.2.6-beta) Connect buffer event's file descriptor to given address or UNIX socket public bool EventBufferEvent::connect ( string $addr ) Connect buffer event's file descriptor to given address(optionally with port), or a UNIX domain socket. If socket is not assigned to the buffer event, this function allocates a new socket and makes it non-blocking internally. To resolve DNS names(asyncronously), use

bbcode_create

(PECL bbcode >= 0.9.0) Create a BBCode Resource resource bbcode_create ([ array $bbcode_initial_tags = NULL ] ) This function returns a new BBCode Resource used to parse BBCode strings. Parameters: bbcode_initial_tags An associative array containing the tag names as keys and parameters required to correctly parse BBCode as their value. The following key/value pairs ar

mysqli::real_escape_string

(PHP 5, PHP 7) Escapes special characters in a string for use in an SQL statement, taking into account the current charset of the connection string mysqli::escape_string ( string $escapestr ) Object oriented style string mysqli::real_escape_string ( string $escapestr ) Procedural style string mysqli_real_escape_string ( mysqli $link , string $escapestr ) This function is used to create a legal SQL string that you can use i

max

(PHP 4, PHP 5, PHP 7) Find highest value mixed max ( array $values ) mixed max ( mixed $value1 , mixed $value2 [, mixed $... ] ) If the first and only parameter is an array, max() returns the highest value in that array. If at least two parameters are provided, max() returns the biggest of these values. Note: Values of different types will be compared using the standard comparison rules. For instance, a non-numeric str

mcrypt_encrypt

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Encrypts plaintext with given parameters string mcrypt_encrypt ( string $cipher, string $key, string $data, string $mode [, string $iv ] ) Encrypts the data and returns it. Parameters: cipher One of the MCRYPT_ciphername constants, or the name of the algorithm as string. key The key with which the data wi

ob_start

(PHP 4, PHP 5, PHP 7) Turn on output buffering bool ob_start ([ callable $output_callback = NULL [, int $chunk_size = 0 [, int $flags = PHP_OUTPUT_HANDLER_STDFLAGS ]]] ) This function will turn output buffering on. While output buffering is active no output is sent from the script (other than headers), instead the output is stored in an internal buffer. The contents of this internal buffer may be copied into a string va

htmlentities

(PHP 4, PHP 5, PHP 7) Convert all applicable characters to HTML entities string htmlentities ( string $string [, int $flags = ENT_COMPAT | ENT_HTML401 [, string $encoding = ini_get("default_charset") [, bool $double_encode = true ]]] ) This function is identical to htmlspecialchars() in all ways, except with htmlentities(), all characters which have HTML character entity equivalents are translated into these entities. I

header

(PHP 4, PHP 5, PHP 7) Send a raw HTTP header void header ( string $string [, bool $replace = true [, int $http_response_code ]] ) header() is used to send a raw HTTP header. See the » HTTP/1.1 specification for more information on HTTP headers. Remember that header() must be called before any actual output is sent, either by normal HTML tags, blank lines in a file, or from PHP. It is a very common error to read code with

stream_get_meta_data

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Retrieves header/meta data from streams/file pointers array stream_get_meta_data ( resource $stream ) Returns information about an existing stream. Parameters: stream The stream can be any stream created by fopen(), fsockopen() and pfsockopen(). Returns: The result array contains the following items: timed_out

Strings

Examples: The simplest way to specify a string is to enclose it in single quotes (the character '). To specify a literal single quote, escape it with a backslash (\). To specify a literal backslash, double it (\\). All other instances of backslash will be treated as a literal backslash: this means that the other escape sequences you might be used to, such as \r or \n, will be output literally as specified rather than having any special meaning. Note: Unlike the do