xref: /PHP-8.0/sapi/phpdbg/tests/bug78297.phpt (revision d1764ca3)
1--TEST--
2Bug #78297: Include unexistent file memory leak
3--PHPDBG--
4r
5q
6--FILE--
7<?php
8include "does_not_exist.php";
9--EXPECTF--
10[Successful compilation of %s]
11prompt>
12Warning: include(%s): Failed to open stream: No such file or directory in %s on line %d
13
14Warning: include(): Failed opening 'does_not_exist.php' for inclusion (include_path=%s) in %s on line %d
15[Script ended normally]
16prompt>
17