Doc #73798 [ReO->Ver]: Badly worded example output

From: Date: Sat, 07 Jan 2017 14:56:52 +0000
Subject: Doc #73798 [ReO->Ver]: Badly worded example output
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14309@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 Updated by: cmb@php.net Reported by: f dot meurer at meurologic dot de Summary: Badly worded example output -Status: Re-Opened +Status: Verified Type: Documentation Problem -Package: Variables related +Package: Unknown/Other Function PHP Version: 5.6.29 Assigned To: cmb Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2016-12-21 14:19:00] cmb@php.net Still, the example should be improved. ------------------------------------------------------------------------ [2016-12-21 11:54:53] f dot meurer at meurologic dot de Right, did not look at the quotes cause i didn't expect that. ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#14309) next »