Inserts a breakpoint at entry to a method

phpdbg_break_method

(PHP 5 >= 5.6.3, PHP 7, PHP 8)

phpdbg_break_methodInserts a breakpoint at entry to a method

說明

phpdbg_break_method(string $class, string $method): void

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.

返回值

沒有返回值。

參見

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *