1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 19:41:05 +02:00
Files
archived-php-src/Zend/tests/debug_print_backtrace_from_main.phpt
Nikita Popov 8bb81226c1 Handle debug_print_backtrace() from main script
If there is nothing to print, the smart_str will hold a nullptr.

Fixes oss-fuzz #33334.
2021-04-19 10:20:30 +02:00

8 lines
112 B
PHP

--TEST--
Calling debug_print_backtrace() from main script
--FILE--
<?php
debug_print_backtrace();
?>
--EXPECT--