NAME ^

php_builtin.pir - PHP builtin Library

DESCRIPTION ^

Functions ^

bool class_exists(string classname [, bool autoload])
Checks if the class existsNOT IMPLEMENTED.
string create_function(string args, string code)
Creates an anonymous function, and returns its name (funny, eh?)NOT IMPLEMENTED.
array debug_backtrace([bool provide_object])
Return backtrace as arrayNOT IMPLEMENTED.
void debug_print_backtrace(void)
NOT IMPLEMENTED.
bool define(string constant_name, mixed value, boolean case_sensitive=true)
Define a new constantSTILL INCOMPLETE.
bool defined(string constant_name)
Check whether a constant exists
array each(array arr)
Return the currently pointed key..value pair in the passed array, and advance the pointer to the next elementNOT IMPLEMENTED.
int error_reporting(int new_error_level=null)
Return the current error_reporting level, and if an argument was passed - change to the new levelDUMMY IMPLEMENTATION.
bool extension_loaded(string extension_name)
Returns true if the named extension is loaded. As currently no extensions are supported, this function always returns false.
mixed func_get_arg(int arg_num)
Get the $arg_num'th argument that was passed to the functionNOT IMPLEMENTED.
array func_get_args()
Get an array of the arguments that were passed to the functionNOT IMPLEMENTED.
int func_num_args(void)
Get the number of arguments that were passed to the functionNOT IMPLEMENTED.
bool function_exists(string function_name)
Checks if the function existsNOT IMPLEMENTED.
string get_class([object object])
Retrieves the class nameNOT IMPLEMENTED.
array get_class_methods(mixed class)
Returns an array of method names for class or class instance.NOT IMPLEMENTED.
array get_class_vars(string class_name)
Returns an array of default properties of the class.NOT IMPLEMENTED.
array get_declared_classes()
Returns an array of all declared classes.NOT IMPLEMENTED.
array get_declared_interfaces()
Returns an array of all declared interfaces.NOT IMPLEMENTED.
array get_defined_constants([mixed categorize])
Return an array containing the names and values of all defined constantsNOT IMPLEMENTED.
array get_defined_functions(void)
Returns an array of all defined functionsNOT IMPLEMENTED.
array get_defined_vars(void)
Returns an associative array of names and values of all currently defined variable names (variables in the current scope)NOT IMPLEMENTED.
array get_extension_funcs(string extension_name)
Returns an array with the names of functions belonging to the named extensionNOT IMPLEMENTED.
array get_included_files(void)
Returns an array with the file names that were include_once()'dNOT IMPLEMENTED.
array get_loaded_extensions([bool zend_extensions])
Return an array containing names of loaded extensionsNOT IMPLEMENTED.
array get_object_vars(object obj)
Returns an array of object propertiesNOT IMPLEMENTED.
string get_parent_class([mixed object])
Retrieves the parent class name for object or class or current scope.NOT IMPLEMENTED.
string get_resource_type(resource res)
Get the resource type name for a given resource
bool interface_exists(string classname [, bool autoload])
Checks if the class existsNOT IMPLEMENTED.
bool is_a(object object, string class_name)
Returns true if the object is of this class or has this class as one of its parentsNOT IMPLEMENTED.
bool is_subclass_of(object object, string class_name)
Returns true if the object has this class as one of its parentsNOT IMPLEMENTED.
void leak(int num_bytes=3)
Cause an intentional memory leak, for testing/debugging purposesNOT IMPLEMENTED.
bool method_exists(object object, string method)
Checks if the class method existsNOT IMPLEMENTED.
bool property_exists(mixed object_or_class, string property_name)
Checks if the object or class has a propertyNOT IMPLEMENTED.
void restore_error_handler(void)
Restores the previously defined error handler functionNOT IMPLEMENTED.
void restore_exception_handler(void)
Restores the previously defined exception handler functionNOT IMPLEMENTED.
string set_error_handler(string error_handler [, int error_types])
Sets a user-defined error handler function. Returns the previously defined error handler, or false on errorNOT IMPLEMENTED.
string set_exception_handler(callable exception_handler)
Sets a user-defined exception handler function. Returns the previously defined exception handler, or false on errorNOT IMPLEMENTED.
int strcasecmp(string str1, string str2)
Binary safe case-insensitive string comparisonNOT IMPLEMENTED.
int strcmp(string str1, string str2)
Binary safe string comparison
int strlen(string str)
Get string length
int strncasecmp(string str1, string str2, int len)
Binary safe string comparisonNOT IMPLEMENTED.
int strncmp(string str1, string str2, int len)
Binary safe string comparisonNOT IMPLEMENTED.
void trigger_error(string messsage [, int error_type])
Generates a user-level error/warning/notice messageNOT IMPLEMENTED.
string zend_version(void)
Get the version of the Zend EngineNOT IMPLEMENTED.


parrot