summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionFunction_getFileName.001.phpt
blob: 73e634274581d0538ac7e93b6586bdb6724eb1ab (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
unicode(%d) "%sincluded4.inc"