NAME ^

php_basic.pir - PHP basic Standard Library

DESCRIPTION ^

Functions ^

mixed call_user_func(string function_name [, mixed parmeter] [, mixed ...])

Call a user function which is the first parameter

NOT IMPLEMENTED.

mixed call_user_func_array(string function_name, array parameters)

Call a user function which is the first parameter with the arguments contained in array

NOT IMPLEMENTED.

mixed call_user_method(string method_name, mixed object [, mixed parameter] [, mixed ...])

Call a user method on a specific object or class

NOT IMPLEMENTED.

mixed call_user_method_array(string method_name, mixed object, array params)

Call a user method on a specific object or class using a parameter array

NOT IMPLEMENTED.

int connection_aborted(void)

Returns true if client disconnected

NOT IMPLEMENTED.

int connection_status(void)

Returns the connection status bitfield

NOT IMPLEMENTED.

mixed constant(string const_name)

Given the name of a constant this function will return the constants associated value

array error_get_last()

Get the last occurred error as associative array. Returns NULL if there hasn't been an error yet.

NOT IMPLEMENTED.

bool error_log(string message [, int message_type [, string destination [, string extra_headers]]])

Send an error message somewhere

NOT IMPLEMENTED.

void flush(void)

Flush the output buffer

NOT IMPLEMENTED.

string get_cfg_var(string option_name)

Get the value of a PHP configuration option

NOT IMPLEMENTED.

string get_current_user(void)

Get the name of the owner of the current PHP script

NOT IMPLEMENTED.

string get_include_path()

Get the current include_path configuration option

NOT IMPLEMENTED.

int get_magic_quotes_gpc(void)

Get the current active configuration setting of magic_quotes_gpc

NOT IMPLEMENTED.

int get_magic_quotes_runtime(void)

Get the current active configuration setting of magic_quotes_runtime

NOT IMPLEMENTED.

string getenv(string varname)

Get the value of an environment variable

STILL INCOMPLETE.

array getopt(string options [, array longopts])

Get options from the command line argument list

NOT IMPLEMENTED.

int getprotobyname(string name)

Returns protocol number associated with name as per /etc/protocols

NOT IMPLEMENTED.

string getprotobynumber(int proto)

Returns protocol name associated with protocol number proto

NOT IMPLEMENTED.

int getservbyname(string service, string protocol)

Returns port associated with service. Protocol must be "tcp" or "udp"

NOT IMPLEMENTED.

string getservbyport(int port, string protocol)

Returns service name associated with port. Protocol must be "tcp" or "udp"

NOT IMPLEMENTED.

bool highlight_file(string file_name [, bool return] )

Syntax highlight a source file

NOT IMPLEMENTED.

bool highlight_string(string string [, bool return] )

Syntax highlight a string or optionally return it

NOT IMPLEMENTED.

int ignore_user_abort(bool value)

Set whether we want to ignore a user abort event or not

NOT IMPLEMENTED.

bool import_request_variables(string types [, string prefix])

Import GET/POST/Cookie variables into the global scope

NOT IMPLEMENTED.

string inet_ntop(string in_addr)

Converts a packed inet address to a human readable IP address string

NOT IMPLEMENTED.

string inet_pton(string ip_address)

Converts a human readable IP address to a packed binary string

NOT IMPLEMENTED.

string ini_get(string varname)

Get a configuration option

NOT IMPLEMENTED.

array ini_get_all([string extension])

Get all configuration options

NOT IMPLEMENTED.

void ini_restore(string varname)

Restore the value of a configuration option specified by varname

NOT IMPLEMENTED.

string ini_set(string varname, string newvalue)

Set a configuration option, returns false on error and the old value of the configuration option on success

NOT IMPLEMENTED.

int ip2long(string ip_address)

Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address

NOT IMPLEMENTED.

bool is_uploaded_file(string path)

Check if file was created by rfc1867 upload

NOT IMPLEMENTED.

string long2ip(int proper_address)

Converts an (IPv4) Internet network address into a string in Internet standard dotted format

NOT IMPLEMENTED.

bool move_uploaded_file(string path, string new_path)

Move a file if and only if it was created by an upload

NOT IMPLEMENTED.

array parse_ini_file(string filename [, bool process_sections])

Parse configuration file

NOT IMPLEMENTED.

string php_strip_whitespace(string file_name)

Return source with stripped comments and whitespace

NOT IMPLEMENTED.

mixed print_r(mixed var [, bool return])

Prints out or returns information about the specified variable

NOT IMPLEMENTED.

bool putenv(string setting)

Set the value of an environment variable

NOT IMPLEMENTED.

void register_shutdown_function(string function_name)

Register a user-level function to be called on request termination

NOT IMPLEMENTED.

bool register_tick_function(string function_name [, mixed arg [, mixed ... ]])

Registers a tick callback function

NOT IMPLEMENTED.

void restore_include_path()

Restore the value of the include_path configuration option

NOT IMPLEMENTED.

string set_include_path(string new_include_path)

Sets the include_path configuration option

NOT IMPLEMENTED.

bool set_magic_quotes_runtime(int new_setting)

Set the current active configuration setting of magic_quotes_runtime and return previous

NOT IMPLEMENTED.

void sleep(int seconds)

Delay for a given number of seconds

array sys_getloadavg()

NOT IMPLEMENTED.

mixed time_nanosleep(long seconds, long nanoseconds)

Delay for a number of seconds and nano seconds

NOT IMPLEMENTED.

mixed time_sleep_until(float timestamp)

Make the script sleep until the specified time

NOT IMPLEMENTED.

void unregister_tick_function(string function_name)

Unregisters a tick callback function

NOT IMPLEMENTED.

void usleep(int micro_seconds)

Delay for a given number of micro seconds

NOT IMPLEMENTED.


parrot