Add stubs for sapi/phpdbg functions
This commit is contained in:
parent
eff2ef85ad
commit
2e63ffb71b
|
@ -3938,6 +3938,17 @@ const FUNCTIONS = array (
|
|||
'php_strip_whitespace' => 'standard/standard_4.php',
|
||||
'php_uname' => 'standard/standard_0.php',
|
||||
'phpcredits' => 'standard/standard_0.php',
|
||||
'phpdbg_break_file' => 'phpdbg/phpdbg.php',
|
||||
'phpdbg_break_function' => 'phpdbg/phpdbg.php',
|
||||
'phpdbg_break_method' => 'phpdbg/phpdbg.php',
|
||||
'phpdbg_break_next' => 'phpdbg/phpdbg.php',
|
||||
'phpdbg_clear' => 'phpdbg/phpdbg.php',
|
||||
'phpdbg_color' => 'phpdbg/phpdbg.php',
|
||||
'phpdbg_end_oplog' => 'phpdbg/phpdbg.php',
|
||||
'phpdbg_exec' => 'phpdbg/phpdbg.php',
|
||||
'phpdbg_get_executable' => 'phpdbg/phpdbg.php',
|
||||
'phpdbg_prompt' => 'phpdbg/phpdbg.php',
|
||||
'phpdbg_start_oplog' => 'phpdbg/phpdbg.php',
|
||||
'phpinfo' => 'standard/standard_0.php',
|
||||
'phpversion' => 'standard/standard_0.php',
|
||||
'pi' => 'standard/standard_3.php',
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
function phpdbg_break_next(): void {}
|
||||
|
||||
function phpdbg_break_file(string $file, int $line): void {}
|
||||
|
||||
function phpdbg_break_method(string $class, string $method): void {}
|
||||
|
||||
function phpdbg_break_function(string $function): void {}
|
||||
|
||||
function phpdbg_color(int $element, string $color): void {}
|
||||
|
||||
function phpdbg_prompt(string $string): void {}
|
||||
|
||||
/**
|
||||
* @return string|bool
|
||||
*/
|
||||
function phpdbg_exec(string $context) {}
|
||||
|
||||
function phpdbg_clear(): void {}
|
||||
|
||||
function phpdbg_start_oplog(): void {}
|
||||
|
||||
function phpdbg_end_oplog(array $options = []): ?array {}
|
||||
|
||||
function phpdbg_get_executable(array $options = []): array {}
|
Loading…
Reference in New Issue