Support for allias in function
| From: | Wico de Leeuw | Date: | Thu, 29 Jul 1999 11:42:41 +0000 |
| Subject: | Support for allias in function | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-2945@lists.php.net to get a copy of this message | ||
Hiya...
I wonder if allias could be added to functions/classes
something like this:
function a ($data) {
echo $data;
}
function b ($data) {
echo $data;
}
so this can be replaced with:
function a alias b ($data) {
echo $data;
}
- Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe trying to
produce bigger and better idiots. So far, the Universe is winning.
- Practice makes perfect, but if nobody's perfect, why practice?
Wico de Leeuw, (wico@cnh.nl) ICQ - 33093128
(Web) Programmer