Doc #68468 [NEW]: ...

From: Date: Fri, 21 Nov 2014 08:30:40 +0000
Subject: Doc #68468 [NEW]: ...
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11687@lists.php.net to get a copy of this message
From: address4spam at outlook dot com Operating system: ... PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:... 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 bug report at https://bugs.php.net/bug.php?id=68468&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68468&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68468&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68468&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=68468&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=68468&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=68468&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=68468&r=needscript Try newer version: https://bugs.php.net/fix.php?id=68468&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=68468&r=support Expected behavior: https://bugs.php.net/fix.php?id=68468&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=68468&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=68468&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=68468&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68468&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=68468&r=dst IIS Stability: https://bugs.php.net/fix.php?id=68468&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=68468&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=68468&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=68468&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=68468&r=mysqlcfg

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