| goba@php.net 2005-08-31, 6:56 pm |
| ID: 34279
Updated by: goba@php.net
Reported By: csaba at alum dot mit dot edu
-Status: Open
+Status: Feedback
Bug Type: Website problem
PHP Version: Irrelevant
New Comment:
Fact is that noone compiled an exhaustive list of missing aliases. Look
into php.net/source.php?url=/error.php (search for $uri_aliases), some
language constructs are aliased, some are not. We would appreciate if
you could compile a list.
Previous Comments:
------------------------------------------------------------------------
[2005-08-31 13:05:01] csaba at alum dot mit dot edu
Perhaps so, but every single item that has "is a language construct" or
"but a language construct" on the php.net site is reachable with the url
short form. That list is part of:
echo, print, die, exit, return, array, list, empty, isset, unset,
include, include_once, require, require_once, throw, catch
I included the additional throw, catch since some other web site stated
that they were language constructs. Language constructs, as far as I
could find, are not discussed on the PHP website at all except to say
that a language construct cannot be passed as a (callback) function, or
might not need parentheses. As far as almost any user is concerned for
documentation lookup purposes, any distinction should be irrelevant.
Furthermore, I would suggest that the other language
constructs/keywords missing from such short form lookup should be
upgraded. The idea is to make the excellent PHP documentation even
more accessible.
Csaba
------------------------------------------------------------------------
[2005-08-29 13:28:21] sniper@php.net
Same happens with many other language constructs.
------------------------------------------------------------------------
[2005-08-27 11:46:43] csaba at alum dot mit dot edu
Description:
------------
If I go to http://php.net/clone I am told that:
Sorry, but the function clone is not in the online manual
and offered an opportunity to search the entire PHP website for the
string "clone" by clicking on:
http://www.google.com/search?q=clon...ww.php.net&l=en
The 10th entry in that google page shows www.php.net/clone
Expected result:
----------------
I expect that http://php.net/clone (or at least http://php.net/cloning
) should land me on:
http://www.php.net/manual/en/language.oop5.cloning.php
similar to http://php.net/instanceof landing me on
http://www.php.net/manual/en/langua...rators.type.php
as described at http://www.php.net/urlhowto.php
Csaba Gabor from Vienna
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34279&edit=1
|