SNMP::getError

(PHP 5 >= 5.4.0, PHP 7) Get last error message public string SNMP::getError ( void ) Returns string with error from last SNMP request. Returns: String describing error from last SNMP request. Examples: SNMP::getError() example <?php $session = new SNMP(SNMP::VERSION_2c, '127.0.0.1', 'boguscommunity'); var_dump(@$ses

mysqli::select_db

(PHP 5, PHP 7) Selects the default database for database queries bool mysqli::select_db ( string $dbname ) Object oriented style Procedural style bool mysqli_select_db ( mysqli $link , string $dbname ) Selects the default database to be used when performing queries against the database connection. Note: This function should only be used to change the default database for the connection. You can select the default databa

SNMP::getErrno

(PHP 5 >= 5.4.0, PHP 7) Get last error code public int SNMP::getErrno ( void ) Returns error code from last SNMP request. Returns: Returns one of SNMP error code values described in constants chapter. Examples: SNMP::getErrno() example <?php $session = new SNMP(SNMP::VERSION_2c, '127.0.0.1', 'boguscommunity'); var_d

EventHttpConnection::makeRequest

(PECL event >= 1.4.0-beta) Makes an HTTP request over the specified connection public bool EventHttpConnection::makeRequest ( EventHttpRequest $req , int $type , string $uri ) Makes an HTTP request over the specified connection. type is one of EventHttpRequest::CMD_* constants. Parameters: req The connection object over which to send the request.

Class Constants

Examples: Defining and using a constant It is possible to define constant values on a per-class basis remaining the same and unchangeable. Constants differ from normal variables in that you don't use the $ symbol to declare or use them. The value must be a constant expression, not (for example) a variable, a property, or a function call. It's also possible for interfaces to have constants. Look at the interface documentation for examples. As of PHP 5.3.0, it's po

ReflectionFunction::__construct

(PHP 5, PHP 7) Constructs a ReflectionFunction object public ReflectionFunction::__construct ( mixed $name ) Constructs a ReflectionFunction object. Parameters: name The name of the function to reflect or a closure. Returns: No value is returned. Exception: A ReflectionException if the name parameter does not con

newt_win_entries

(PECL newt >= 0.1) int newt_win_entries ( string $title, string $text, int $suggested_width, int $flex_down, int $flex_up, int $data_width, array &$items, string $button1 [, string $... ] ) Parameters: title text suggested_width flex_down flex_up

Throwable::__toString

(PHP 7) Gets a string representation of the thrown object abstract public string Throwable::__toString ( void ) Returns: Returns the string representation of the thrown object. See also: Exception::__toString() -

mysqli_enable_reads_from_master

(PHP 5 < 5.3.0) Enable reads from master bool mysqli_enable_reads_from_master ( mysqli $link ) This function is currently not documented; only its argument list is available. This function has been DEPRECATED and REMOVED as of PHP 5.3.0.

rand

(PHP 4, PHP 5, PHP 7) Generate a random integer int rand ( void ) int rand ( int $min , int $max ) If called without the optional min, max arguments rand() returns a pseudo-random integer between 0 and getrandmax(). If you want a random number between 5 and 15 (inclusive), for example, use rand(5, 15). CautionThis function does not generate cryptographically secure values, and should not be used for cryptographic purposes