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

phpdbg_exec

PHP function Edit on GitHub ✎

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

Attempts to set the execution context

Description

phpdbg_exec(string $context): string|bool

Func

Parameters

context

Return Values

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.

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