Doc #68468 [Opn->Csd]: [DE] Incorrect capitalisation in example output

From: Date: Sat, 22 Nov 2014 18:54:42 +0000
Subject: Doc #68468 [Opn->Csd]: [DE] Incorrect capitalisation in example output
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11691@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68468&edit=1 ID: 68468 Updated by: salathe@php.net Reported by: address4spam at outlook dot com Summary: [DE] Incorrect capitalisation in example output -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: ... PHP Version: Irrelevant -Assigned To: +Assigned To: salathe Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2014-11-22 18:54:10] salathe@php.net Automatic comment from SVN on behalf of salathe Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=335207 Log: Fix example output (doc bug #68468) ------------------------------------------------------------------------ [2014-11-21 08:30:39] address4spam at outlook dot com Description: ------------ False output example. (German) http://php.net/manual/de/language.types.string.php Beispiel #2 Heredoc string quoting example "My name is "MyName". I am printing some foo. Now I am printing some Bar2. This should print a capital 'A': \x41" foo should be capitalized >> Foo Test script: --------------- <?php $str = <<<EOD Example of string spanning multiple lines using heredoc syntax. EOD; /* More complex example, with variables. */ class foo { var $foo; var $bar; function foo() { $this->foo = 'Foo'; $this->bar = array('Bar1', 'Bar2', 'Bar3'); } } $foo = new foo(); $name = 'MyName'; echo <<<EOT My name is "$name". I am printing some $foo->foo. Now, I am printing some {$foo->bar[1]}. This should print a capital 'A': \x41 EOT; ?> Expected result: ---------------- foo should be capitalized >> Foo Actual result: -------------- Foo get's described as foo ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68468&edit=1

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