php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay

| files >> /php-7.1.11/ext/reflection/tests/ |
| files >> //php-7.1.11/ext/reflection/tests/ReflectionParameter_getDeclaringFunction_basic.phpt |
--TEST--
ReflectionParameter::getDeclaringFunction()
--CREDITS--
Stefan Koopmanschap <stefan@stefankoopmanschap.nl>
#testfest roosendaal on 2008-05-10
--FILE--
<?php
function ReflectionParameterTest($test, $test2 = null) {
echo $test;
}
$reflect = new ReflectionFunction('ReflectionParameterTest');
$params = $reflect->getParameters();
foreach($params as $key => $value) {
echo $value->getDeclaringFunction() . "\n";
}
?>
==DONE==
--EXPECTF--
Function [ <user> function ReflectionParameterTest ] {
@@ %s.php %d - %d
- Parameters [2] {
Parameter #0 [ <required> $test ]
Parameter #1 [ <optional> $test2 = NULL ]
}
}
Function [ <user> function ReflectionParameterTest ] {
@@ %s.php %d - %d
- Parameters [2] {
Parameter #0 [ <required> $test ]
Parameter #1 [ <optional> $test2 = NULL ]
}
}
==DONE==
y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`