Re: [PHP4BETA] require semantics
| From: | Curt Zirzow | Date: | Fri, 29 Oct 1999 12:57:25 +0000 |
| Subject: | Re: [PHP4BETA] require semantics | ||
| References: | 1 2 3 4 5 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5791@lists.php.net to get a copy of this message | ||
>
> Thies is correct. require with a non-constant isn't really legal. However,
> so that people don't get bitten by this, especially when upgrading from 3.0
> we automatically convert the require() to an include() in case it's a
> non-constant expression.
>
If that is the case, should it give a warning like
Warning: Use of non-constant in require()
Just a thought.
curt
--