Re: php.net/include doesn't work
| From: | Lars Torben Wilson | Date: | Mon, 25 Dec 2000 10:03:17 +0000 |
| Subject: | Re: php.net/include doesn't work | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31785@lists.php.net to get a copy of this message | ||
Toby Butzon writes:
> Ahh, but it is a function...
No, it's not. Neither are require() or eval(). They just share the
syntax and manual page address scheme.
> and it's a language construct... AND it's
> listed under control structures... hmmmm ;)
Yes.
> What I'm getting at is that if you go to php.net/include, you don't get a
> 404 and search results list - you get redirected to php.net/. I think it
> might be worth getting somebody to set it to go to
> php.net/manual/function.include.php.
Yes, I agree with that.
> I'm thinking of sending an email to webmaster@php.net or putting in a
> documentation bug report... don't know which one would be more appropriate,
> but it seems to me that this ought to behave as the other redirects do.
I'm not sure exactly what the problem is, and I'm not going to look at
it tonight, but it will get taken care of. Consider us alerted. :)
> Toby Butzon
> [ criticism spurs improvement ]
>
>
> ----- Original Message -----
> From: "Lars Torben Wilson" <torben@pinc.com>
> To: "Toby Butzon" <TButzon@ImAWebDesigner.com>
> Cc: "PHP List" <php-general@lists.php.net>
> Sent: Monday, December 25, 2000 4:36 AM
> Subject: Re: [PHP] php.net/include doesn't work
>
>
> : Toby Butzon writes:
> : > Does anybody know why php.net/include doesn't redirect to
> : > php.net/manual/functions.include.php like the other functions do?
> : >
> : > Toby Butzon
> : > [ criticism spurs improvement ]
> :
> : 'cause include() isn't a function, it's a control structure.
> :
> : However, in PHP 4 especially. it does behave more like a function than
> : it did in PHP 3. It might be worth a link from one of the function
> : references.
> :
> :
> : --
> : +----------------------------------------------------------------+
> : |Torben Wilson <torben@php.net> Netmill iTech|
> : |http://www.coastnet.com/~torben
> http://www.netmill.fi|
> : |Ph: 1 250 383-9735 torben@netmill.fi|
> : +----------------------------------------------------------------+
--
+----------------------------------------------------------------+
|Torben Wilson <torben@php.net> Netmill iTech|
|http://www.coastnet.com/~torben http://www.netmill.fi|
|Ph: 1 250 383-9735 torben@netmill.fi|
+----------------------------------------------------------------+