Doc #73798 [Ver->Csd]: Badly worded example output
| From: | f dot meurer at meurologic dot de | Date: | Wed, 21 Dec 2016 11:54:54 +0000 |
| Subject: | Doc #73798 [Ver->Csd]: Badly worded example output | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14281@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73798&edit=1
ID: 73798
User updated by: f dot meurer at meurologic dot de
Reported by: f dot meurer at meurologic dot de
Summary: Badly worded example output
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: Variables related
PHP Version: 5.6.29
Block user comment: N
Private report: N
New Comment:
Right, did not look at the quotes cause i didn't expect that.
Previous Comments:
------------------------------------------------------------------------
[2016-12-21 11:38:57] cmb@php.net
Well, the example is basically correct, see
<https://3v4l.org/ne0au>. Note that $string3 is assigned
a
*single*-quoted string literal.
However, in my opinion the wording of the example's output needs
improvement.
------------------------------------------------------------------------
[2016-12-21 10:41:03] f dot meurer at meurologic dot de
Description:
------------
---
From manual page: http://www.php.net/function.ctype-space
---
There is an error in the docu in the example.
http://php.net/manual/de/function.ctype-space.php
'string3' => '\n\r\t' should show 'The string 'string3'
consists of all whitespace characters.'
Expected result:
----------------
'string3' => '\n\r\t' should show 'The string 'string3'
consists of all whitespace characters.'
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73798&edit=1