Page 1 of 1

Function problem to retrieve arguement

Posted: Mon Jan 02, 2006 12:43 am
by mickd
Is it possible to retrieve the arguement in a function before it is parsed?

for example (i wrote my own little unit tester):

Code: Select all

$this->assertFalse($this->instance->in('TestKey'));
i would like to be able to display $this->instance->in('TestKey') in the unit test result aswell as the actual value of

Code: Select all

$this->assertFalse($this->instance->in('TestKey'));
Thanks, any help appriciated.

Link with the unit tester results that i wrote(its xhtml valid :D)
http://mick.dotgeek.org/RegistryTest.php

notice how the top results have nothing after Result Tested:.


p.s. i dont like using other peoples packages unless its feyd's sha256 ;) i like to write and learn as i go.
p.s.s. this is one of my first OOP written things (i havent been writing alot of code or any at all, only reading about theory and design).

if im unclear please post here and ill try to explian more thoroughly.

Posted: Tue Jan 03, 2006 4:33 am
by mickd
sadly, no solution yet :(