Re: Reflection question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Have a look at example #5 on

http://de3.php.net/manual/en/language.oop5.reflection.php#language.oop5.reflection.reflectionmethod

Greetings from Germany

Marc


Pulni4kiya wrote:
Hi, everyone!

I need to do the following:
Let's say I have this class:
class A {
  public function b(array $c, $d = 6) { ... }
}

I need to get this in runtime:
"public function b(array $c, $d = 6)"

What's the best way to do it?
(I don't quite like the idea of reading the file in which the class is defined and it might not always work...)



--
http://bithub.net/
Synchronize and share your files over the web for free


My Twitter feed
http://twitter.com/MarcSteinert





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux