phpdbg_break_file

Inserts a breakpoint at a line in a file

说明

void phpdbg_break_file ( string $file , int $line )

Insert a breakpoint at the given line in the given file.

参数

file
The name of the file.

line
The line number.

返回值

没有返回值。

参见

  • phpdbg_break_function
  • phpdbg_break_method
  • phpdbg_break_next
  • phpdbg_clear

phpdbg_break_function

Inserts a breakpoint at entry to a function

说明

void phpdbg_break_function ( string $function )

Insert a breakpoint at the entry to the given function.

参数

function
The name of the function.

返回值

没有返回值。

参见

  • phpdbg_break_file
  • phpdbg_break_method
  • phpdbg_break_next
  • phpdbg_clear

phpdbg_break_method

Inserts a breakpoint at entry to a method

说明

void phpdbg_break_method ( string $class , string $method )

Insert a breakpoint at the entry to the given method of the given class.

参数

class
The name of the class.

method
The name of the method.

返回值

没有返回值。

参见

  • phpdbg_break_file
  • phpdbg_break_function
  • phpdbg_break_next
  • phpdbg_clear

phpdbg_break_next

Inserts a breakpoint at the next opcode

说明

void phpdbg_break_next ( void )

Insert a breakpoint at the next opcode.

参数

此函数没有参数。

返回值

没有返回值。

参见

  • phpdbg_break_file
  • phpdbg_break_function
  • phpdbg_break_method
  • phpdbg_clear

phpdbg_clear

Clears all breakpoints

说明

void phpdbg_clear ( void )

Clear all breakpoints that have been set, either via one of the phpdbg_break_* functions or interactively in the console.

Warning

本函数还未编写文档,仅有参数列表。

参数

此函数没有参数。

返回值

没有返回值。

参见

  • phpdbg_break_file
  • phpdbg_break_function
  • phpdbg_break_method
  • phpdbg_break_next

phpdbg_color

Sets the color of certain elements

说明

void phpdbg_color ( int $element , string $color )

Set the color of the given element.

参数

element
One of the PHPDBG_COLOR_* constants.

color
The name of the color. One of white, red, green, yellow, blue, purple, cyan or black, optionally with either a trailing -bold or -underline, for instance, white-bold or green-underline.

返回值

没有返回值。

参见

  • phpdbg_prompt

phpdbg_end_oplog

说明

array phpdbg_end_oplog ([ array $options ] )

Warning

本函数还未编写文档,仅有参数列表。

参数

options

返回值

phpdbg_exec

Attempts to set the execution context

说明

mixed phpdbg_exec ([ string $context ] )

Warning

本函数还未编写文档,仅有参数列表。

参数

context

返回值

If the execution context was set previously it is returned. If the execution context was not set previously TRUE is returned. If the request to set the context fails, FALSE is returned, and an E_WARNING raised.

phpdbg_get_executable

说明

array phpdbg_get_executable ([ array $options ] )

Warning

本函数还未编写文档,仅有参数列表。

参数

options

返回值

phpdbg_prompt

Sets the command prompt

说明

void phpdbg_prompt ( string $string )

Set the command prompt to the given string.

参数

string
The string to use as command prompt.

返回值

没有返回值。

参见

  • phpdbg_color

phpdbg_start_oplog

说明

void phpdbg_start_oplog ( void )

Warning

本函数还未编写文档,仅有参数列表。

参数

此函数没有参数。

返回值

没有返回值。

目录