php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
phpdbg.c File Reference
#include "phpdbg.h"
#include "phpdbg_prompt.h"
#include "phpdbg_bp.h"
#include "phpdbg_break.h"
#include "phpdbg_list.h"
#include "phpdbg_utils.h"
#include "phpdbg_set.h"
#include "phpdbg_io.h"
#include "zend_alloc.h"
#include "phpdbg_print.h"
#include "phpdbg_help.h"
#include "phpdbg_arginfo.h"
#include "zend_vm.h"
#include "php_ini_builder.h"
#include "php_main.h"
#include "ext/standard/basic_functions.h"

Go to the source code of this file.

Data Structures

struct  php_stdio_stream_data
 

Functions

 PHP_FUNCTION (phpdbg_exec)
 
 PHP_FUNCTION (phpdbg_break_next)
 
 PHP_FUNCTION (phpdbg_break_file)
 
 PHP_FUNCTION (phpdbg_break_method)
 
 PHP_FUNCTION (phpdbg_break_function)
 
 PHP_FUNCTION (phpdbg_clear)
 
 PHP_FUNCTION (phpdbg_color)
 
 PHP_FUNCTION (phpdbg_prompt)
 
 PHP_FUNCTION (phpdbg_start_oplog)
 
 PHP_FUNCTION (phpdbg_get_executable)
 
 PHP_FUNCTION (phpdbg_end_oplog)
 
void phpdbg_register_file_handles (void)
 
ZEND_ATTRIBUTE_MALLOC ZEND_ATTRIBUTE_ALLOC_SIZE (1)
 
void phpdbg_free_wrapper (void *p ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
 
voidphpdbg_realloc_wrapper (void *ptr, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
 
php_streamphpdbg_stream_url_wrap_php (php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC)
 
int main (int argc, char **argv)
 

Variables

int phpdbg_startup_run = 0
 
const char phpdbg_ini_hardcoded []
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 1118 of file phpdbg.c.

◆ PHP_FUNCTION() [1/11]

PHP_FUNCTION ( phpdbg_break_file )

Definition at line 314 of file phpdbg.c.

◆ PHP_FUNCTION() [2/11]

PHP_FUNCTION ( phpdbg_break_function )

Definition at line 341 of file phpdbg.c.

◆ PHP_FUNCTION() [3/11]

PHP_FUNCTION ( phpdbg_break_method )

Definition at line 328 of file phpdbg.c.

◆ PHP_FUNCTION() [4/11]

PHP_FUNCTION ( phpdbg_break_next )

Definition at line 293 of file phpdbg.c.

◆ PHP_FUNCTION() [5/11]

PHP_FUNCTION ( phpdbg_clear )

Definition at line 354 of file phpdbg.c.

◆ PHP_FUNCTION() [6/11]

PHP_FUNCTION ( phpdbg_color )

Definition at line 373 of file phpdbg.c.

◆ PHP_FUNCTION() [7/11]

PHP_FUNCTION ( phpdbg_end_oplog )

Definition at line 585 of file phpdbg.c.

◆ PHP_FUNCTION() [8/11]

PHP_FUNCTION ( phpdbg_exec )

Definition at line 254 of file phpdbg.c.

◆ PHP_FUNCTION() [9/11]

PHP_FUNCTION ( phpdbg_get_executable )

Definition at line 487 of file phpdbg.c.

◆ PHP_FUNCTION() [10/11]

PHP_FUNCTION ( phpdbg_prompt )

Definition at line 396 of file phpdbg.c.

◆ PHP_FUNCTION() [11/11]

PHP_FUNCTION ( phpdbg_start_oplog )

Definition at line 409 of file phpdbg.c.

◆ phpdbg_free_wrapper()

void phpdbg_free_wrapper ( void *p ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)

Definition at line 1077 of file phpdbg.c.

◆ phpdbg_realloc_wrapper()

void * phpdbg_realloc_wrapper ( void * ptr,
size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC )

Definition at line 1090 of file phpdbg.c.

◆ phpdbg_register_file_handles()

void phpdbg_register_file_handles ( void )

Definition at line 882 of file phpdbg.c.

◆ phpdbg_stream_url_wrap_php()

php_stream * phpdbg_stream_url_wrap_php ( php_stream_wrapper * wrapper,
const char * path,
const char * mode,
int options,
zend_string ** opened_path,
php_stream_context *context STREAMS_DC )

Definition at line 1095 of file phpdbg.c.

◆ ZEND_ATTRIBUTE_ALLOC_SIZE()

ZEND_ATTRIBUTE_MALLOC ZEND_ATTRIBUTE_ALLOC_SIZE ( 1 )

Definition at line 1072 of file phpdbg.c.

Variable Documentation

◆ phpdbg_ini_hardcoded

const char phpdbg_ini_hardcoded[]
Initial value:
=
"html_errors=Off\n"
"register_argc_argv=On\n"
"implicit_flush=On\n"
"display_errors=Off\n"
"log_errors=On\n"
"max_execution_time=0\n"
"max_input_time=-1\n"
"error_log=\n"
"output_buffering=off\n"

Definition at line 986 of file phpdbg.c.

◆ phpdbg_startup_run

int phpdbg_startup_run = 0

Definition at line 46 of file phpdbg.c.