php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #68580 [DE] A typo in the example.
Submitted: 2014-12-09 20:15 UTC Modified: 2015-03-22 20:04 UTC
From: mbecker at bemit dot eu Assigned: cmb (profile)
Status: Closed Package: Translation 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: mbecker at bemit dot eu
New email:
PHP Version: OS:

 

 [2014-12-09 20:15 UTC] mbecker at bemit dot eu
Description:
------------
---
From manual page: http://www.php.net/functions.arguments
---
Language: German

<?php
function machkaffee ($typ = "Cappucino")
{
    return "Ich mache eine Tasse $typ.\n";
}
echo machkaffee ();
echo machkaffee (null);
echo machkaffee ("Espresso");
?>

Die Ausgabe von diesem kleinen Skript ist:


Ich mache eine Tasse Cappucino.
Ich mache eine Tasse.
Ich mache eine Tasse Espresso.


After "Tasse" at "Ich mache eine Tasse." need to be a blank.
Actual: "Ich mache eine Tasse."
Need to be: "Ich mache eine Tasse ."
Just a typo.
Tried changing it with the editor, but i think because i was anonymous i can't.
Best regards
michael



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-12-20 12:37 UTC] sobak@php.net
-Summary: A typo in the example. +Summary: [DE] A typo in the example. -Type: Feature/Change Request +Type: Documentation Problem -Package: Documentation problem +Package: Translation problem
 [2015-03-22 20:04 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=336142
Log: fixes #68580
 [2015-03-22 20:04 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2015-03-22 20:04 UTC] cmb@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 00:01:30 2024 UTC