fix wrong slashes

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270132 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nilgün Belma Bugüner 2008-11-30 09:59:52 +00:00
parent e16ee06c2d
commit 44b86a36c8

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<chapter xml:id="language.namespaces" xmlns="http://docbook.org/ns/docbook"
version="1.1">
<title>Namespaces</title>
@ -1410,10 +1410,10 @@ name\func();
<programlisting role="php">
<![CDATA[
<?php
$a = new "dangerous\name"; \\ \n is a newline inside double quoted strings!
$a = new "dangerous\name"; // \n is a newline inside double quoted strings!
$obj = new $a;
$a = new 'not\at\all\dangerous'; \\ no problems here.
$a = new 'not\at\all\dangerous'; // no problems here.
$obj = new $a;
?>
]]>