Posted by Richard on 02/20/07 21:53
Is it possible to store the address or reference to a function in php? Maybe using just a string and later dereferencing it? e.g some ideas to illustrate what I mean <?php function myCompanyMotto(){ echo "hello"; } $myarr["func1"]=&myCompanyMotto; $myarr["func2"]="myCompanyMotto"; //how to get function from myarr and call it???? ?> --
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming