Re: PHP.net website Bug / Problem
| From: | Hannes Magnusson | Date: | Mon, 09 Jun 2008 20:07:45 +0000 |
| Subject: | Re: PHP.net website Bug / Problem | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-1902@lists.php.net to get a copy of this message | ||
On Mon, Jun 9, 2008 at 16:06, Dave Watkins <dave@oneofakindantiques.com> wrote:
> Searched the website for "stop" (without the quotes)
> and it returns the documentation for "settype"
Right, since there is no such function in PHP we compare the
metaphone() (see php.net/metaphone) value of "stop" to all functions
in the manual to guess what function you were trying to spell. This
algorithm is obviously not perfect but works in a good chunk of cases.
> Apparently there is no command in php for "STOP" .. but it confused me for a minute
> and I'm sure it will confuse others; was looking for something similar to "break" but
> I want the script halted.
There is no way this could possible be done automatically. The only
possible chance is to put up a bogus page like we have for
php.net/delete, but that is highly unlikely to happen, sorry.
-Hannes