summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionFunction_getFileName.001.phpt
blob: 5dbe7b54b722aaf96ebea07be5f4ca4c0793e8b0 (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"