summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionFunction_getFileName.001.phpt
blob: d27fadec07368a89b6feedaa6df1d8fc7540ed01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
ReflectionFunction::getFileName() with function in an included file
--CREDITS--
Robin Fernandes <robinf@php.net>
Steve Seear <stevseea@php.net>
--FILE--
<?php

include "included4.inc";

$funcInfo = new ReflectionFunction('g');
var_dump($funcInfo->getFileName());

?>
--EXPECTF--
%sincluded4.inc
%d
string(%d) "%sincluded4.inc"