php8.5
Home/ Manual/ phpdbg / functions/ phpdbg_break_method

phpdbg_break_method

PHP function Edit on GitHub ✎

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

Inserts a breakpoint at entry to a method

Description

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

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

Parameters

class

The name of the class.

method

The name of the method.

Return Values

Void

See Also

Source: reference/phpdbg/functions/phpdbg-break-method.xml · from the official PHP manual (php/doc-en)