Function problem to retrieve arguement

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mickd
Forum Contributor
Posts: 397
Joined: Tue Jun 21, 2005 9:05 am
Location: Australia

Function problem to retrieve arguement

Post 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.
mickd
Forum Contributor
Posts: 397
Joined: Tue Jun 21, 2005 9:05 am
Location: Australia

Post by mickd »

sadly, no solution yet :(
Post Reply