mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fixed bug#66004 (Parse error in an example of the namespace section)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332025 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
acadfdd1b4
commit
32837406dd
1 changed files with 2 additions and 2 deletions
|
@ -1469,10 +1469,10 @@ name\func();
|
|||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$a = new "dangerous\name"; // \n is a newline inside double quoted strings!
|
||||
$a = "dangerous\name"; // \n is a newline inside double quoted strings!
|
||||
$obj = new $a;
|
||||
|
||||
$a = new 'not\at\all\dangerous'; // no problems here.
|
||||
$a = 'not\at\all\dangerous'; // no problems here.
|
||||
$obj = new $a;
|
||||
?>
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue