php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #51748 Some Documentation Missing in 'Goto'
Submitted: 2010-05-05 15:55 UTC Modified: 2010-05-07 21:27 UTC
From: geraldinho at freenet dot de Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: geraldinho at freenet dot de
New email:
PHP Version: OS:

 

 [2010-05-05 15:55 UTC] geraldinho at freenet dot de
Description:
------------
Please tell (as you usually do on the top) in the Documentation of 'Goto' that it only became available in PHP 5.3...
Thanks


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-07 20:32 UTC] dtajchreber@php.net
-Status: Open +Status: Bogus
 [2010-05-07 20:32 UTC] dtajchreber@php.net
There is a note at towards the bottom of the page that says, "Note: The goto operator is available as of PHP 5.3." Right above the the xkcd comic...
 [2010-05-07 20:32 UTC] dtajchreber@php.net
There is a note at towards the bottom of the page that says, "Note: The goto operator is available as of PHP 5.3." Right above the the xkcd comic...
 [2010-05-07 20:32 UTC] dtajchreber@php.net
There is a note at towards the bottom of the page that says, "Note: The goto operator is available as of PHP 5.3." Right above the the xkcd comic...
 [2010-05-07 21:02 UTC] geraldinho at freenet dot de
Well, I didn't see the note, do you really think that all the people always read the WHOLE page about a command
And if they are used to a certain style (conventions) in your documentation they also wouldn't expect the note!!
Can only tell you that you would save a lot of people some trouble (if you stick to your own conventions)
 [2010-05-07 21:27 UTC] dtajchreber@php.net
For most language features, the note is actually towards the bottom of the page:

[1] Closures: http://www.php.net/manual/en/functions.anonymous.php
[2] Nowdoc: http://www.php.net/manual/en/language.oop5.properties.php
[3] Type hinting: http://www.php.net/manual/en/language.oop5.typehinting.php
[4] Default values by reference: http://www.php.net/manual/en/functions.variable-functions.php

I certainly hope people read the entire page. It contains valuable information ;)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 20:01:29 2024 UTC