apd_set_session

(PECL apd 0.2-0.4) Changes or sets the current debugging level void apd_set_session ( int $debug_level ) This can be used to increase or decrease debugging in a different area of your application. Parameters: debug_level An integer which is formed by adding together the XXX_TRACE constants. It is not recommended to use MEMORY_TRACE. It is very slow and does not appear to

bcompiler_parse_class

(PECL bcompiler >= 0.4) Reads the bytecodes of a class and calls back to a user function bool bcompiler_parse_class ( string $class, string $callback ) Reads the bytecodes of a class and calls back to a user function. Parameters: class The class name, as a string. callback The class name, as a string. Returns:

apd_set_session_trace_socket

(PECL apd >= 0.2) Starts the remote session debugging bool apd_set_session_trace_socket ( string $tcp_server, int $socket_type, int $port, int $debug_level ) Connects to the specified tcp_server (eg. tcplisten) and sends debugging data to the socket. Parameters: tcp_server IP or Unix Domain socket (like a file) of the TCP server. socket_type

apd_dump_function_table

(Unknown) Outputs the current function table void apd_dump_function_table ( void ) Outputs the current function table. Returns: No value is returned. Examples: apd_dump_function_table() example <?php apd_dump_function_table(); ?>

apd_dump_regular_resources

(PECL apd 0.2-0.4) Return all current regular resources as an array array apd_dump_regular_resources ( void ) Return all current regular resources as an array. Returns: An array containing the current regular resources. Examples: apd_dump_regular_resources() example <?php print_r(apd_dump_regular_resources()); ?>

apd_dump_persistent_resources

(PECL apd 0.2-0.4) Return all persistent resources as an array array apd_dump_persistent_resources ( void ) Return all persistent resources as an array. Returns: An array containing the current call stack. Examples: apd_dump_persistent_resources() example <?php print_r(apd_dump_persistent_resources()); ?>

apd_get_active_symbols

(PECL apd 0.2) Get an array of the current variables names in the local scope array apd_get_active_symbols ( void ) Returns the names of all the variables defined in the active scope, (not their values). Returns: A multidimensional array with all the variables. Examples: apd_get_active_symbols() example <?php apd_echo(

apd_echo

(PECL apd >= 0.2) Echo to the debugging socket bool apd_echo ( string $output ) Usually sent via the socket to request information about the running script. Parameters: output The debugged variable. Returns: Returns TRUE on success or FALSE on failure. Examples: apd_echo() example

apd_croak

(PECL apd 0.2-0.4) Throw an error, a callstack and then exit void apd_croak ( string $warning [, string $delimiter = "<BR />" ] ) Behaves like perl's Carp::croak. Throw an error, a callstack and then exit. Parameters: warning The warning to throw. delimiter The delimiter. Default to <BR />. Returns:

APCUIterator::valid

(PECL apcu >= 5.0.0) Checks if current position is valid public void APCUIterator::valid ( void ) Checks if the current iterator position is valid. Returns: Returns TRUE if the current iterator position is valid, otherwise FALSE. See also: APCUIterator::current() - Iterator::valid(