| csaba at alum dot mit dot edu 2005-08-31, 7:55 am |
| ID: 34279
User updated by: csaba at alum dot mit dot edu
Reported By: csaba at alum dot mit dot edu
Status: Open
Bug Type: Website problem
PHP Version: Irrelevant
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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
|