php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34279 php.net/clone not showing
Submitted: 2005-08-27 11:46 UTC Modified: 2005-09-08 01:00 UTC
From: csaba at alum dot mit dot edu Assigned:
Status: No Feedback Package: Website problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: csaba at alum dot mit dot edu
New email:
PHP Version: OS:

 

 [2005-08-27 11:46 UTC] 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=clone+site:www.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/language.operators.type.php

as described at http://www.php.net/urlhowto.php

Csaba Gabor from Vienna



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-29 13:28 UTC] sniper@php.net
Same happens with many other language constructs.

 [2005-08-31 13:05 UTC] 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-31 16:17 UTC] goba@php.net
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.
 [2005-09-08 01:00 UTC] php-mirrors at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 13:01:30 2024 UTC