Hi,

I thought I could define() and array. However, when I do this:

define("THECONSTANT", array(1,2,3));
print_r(THECONSTANT);

it prints THECONSTANT and not the array :(

according to the manual:

bool define ( string $name, mixed $value [, bool $case_insensitive] )

And isn't "mixed" of any type?

/Peter

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

Reply via email to