Annotation of embedaddon/php/ext/reflection/tests/ReflectionFunction_getFileName.001.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: ReflectionFunction::getFileName() with function in an included file
3: --CREDITS--
4: Robin Fernandes <robinf@php.net>
5: Steve Seear <stevseea@php.net>
6: --FILE--
7: <?php
8:
9: include "included4.inc";
10:
11: $funcInfo = new ReflectionFunction('g');
12: var_dump($funcInfo->getFileName());
13:
14: ?>
15: --EXPECTF--
16: %sincluded4.inc
17: %d
18: string(%d) "%sincluded4.inc"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>