Ref/phpdbg-Phpdoc专题

phpdbg_break_file

Inserts a breakpoint at a line in a file

说明

void <span class="methodname">phpdbg_break_file ( <span class="methodparam">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 <span class="methodname">phpdbg_break_function ( <span class="methodparam">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 <span class="methodname">phpdbg_break_method ( <span class="methodparam">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 <span class="methodname">phpdbg_break_next ( <span class="methodparam">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 <span class="methodname">phpdbg_clear ( <span class="methodparam">void )

Clear all breakpoints that have been set, either via one of the <span class="function">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 <span class="methodname">phpdbg_color ( <span class="methodparam">int $element , string $color )

Set the color of the given element.

参数

element
One of the *`PHPDBGCOLOR`** 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<span class="type">null <span class="methodname">phpdbg_end_oplog ([ <span class="methodparam">array $options<span class="initializer"> = [] ] )

Warning

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

参数

options

返回值

phpdbg_exec

Attempts to set the execution context

说明

string<span class="type">bool <span class="methodname">phpdbg_exec ( <span class="type">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 <span class="methodname">phpdbg_get_executable ([ <span class="methodparam">array $options<span class="initializer"> = [] ] )

Warning

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

参数

options

返回值

phpdbg_prompt

Sets the command prompt

说明

void <span class="methodname">phpdbg_prompt ( <span class="methodparam">string $string )

Set the command prompt to the given string.

参数

string
The string to use as command prompt.

返回值

没有返回值。

参见

  • phpdbg_color

phpdbg_start_oplog

说明

void <span class="methodname">phpdbg_start_oplog ( <span class="methodparam">void )

Warning

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

参数

此函数没有参数。

返回值

没有返回值。

目录


本站为非盈利网站,作品由网友提供上传,如无意中有侵犯您的版权,请联系删除