* Thus wrote gohaku:
> Hi everyone,
> I have been experimenting with defining functions as constants.
> Below is what I am using to test "Function Constants":
> 
> <pre>
> <?
> define(LOGIN,"user");
> define(PASS,"pass");
> define(DB,"mysql");
> 
> define(DBLOGIN,dblogin(LOGIN,PASS,DB));

This is simply not allowed.

see:
  http://php.net/define


Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

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

Reply via email to