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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
23 + 31 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Mar 29 11:01:29 2024 UTC