Re: [PHP4BETA] require $DOCUMENT_ROOT."/hallo";
| From: | Thies C. Arntzen | Date: | Wed, 30 Jun 1999 17:19:08 +0000 |
| Subject: | Re: [PHP4BETA] require $DOCUMENT_ROOT."/hallo"; | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1758@lists.php.net to get a copy of this message | ||
On Wed, 30 Jun 1999, Zeev Suraski wrote:
> At 15:57 30/06/99 , Thies C. Arntzen wrote:
> >does not work - gives me a parse error.
>
> Won't work either, either use require() or use include() (require() with a
> non static expression is treated as include() anyway).
but now it gives a parse-error.
personally i agree with both points, but i think it would be nice to put
an "official" statement on www.php.net stating the "discontinues and
dicouraged" stuff, so people can get used to it - what do you think?
tc
PS:
btw, even though i don't use it i still think that
echo "hi your are $user[name]";
is more readable than:
echo "hi your are ".$user["name"];
>
> Zeev
> --
> Zeev Suraski <zeev@zend.com> http://www.zend.com/
> For a PGP public key, finger bourbon@netvision.net.il
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany