From 99c5c0004cb9a16653f2f3bc706bc00b64040523 Mon Sep 17 00:00:00 2001 From: Etienne Kneuss <colder@php.net> Date: Sun, 14 Oct 2007 02:51:28 +0000 Subject: [PATCH] remove obfuscating parenthesis for include/require_once git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244170 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/control-structures.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/language/control-structures.xml b/language/control-structures.xml index dfe663e8d4..1a2771f134 100644 --- a/language/control-structures.xml +++ b/language/control-structures.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.149 $ --> +<!-- $Revision: 1.150 $ --> <chapter xml:id="language.control-structures" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Control Structures</title> @@ -1659,8 +1659,8 @@ function get_include_contents($filename) { <programlisting role="php"> <![CDATA[ <?php -require_once("a.php"); // this will include a.php -require_once("A.php"); // this will include a.php again on Windows! (PHP 4 only) +require_once "a.php"; // this will include a.php +require_once "A.php"; // this will include a.php again on Windows! (PHP 4 only) ?> ]]> </programlisting> @@ -1726,8 +1726,8 @@ require_once("A.php"); // this will include a.php again on Windows! (PHP 4 only) <programlisting role="php"> <![CDATA[ <?php -include_once("a.php"); // this will include a.php -include_once("A.php"); // this will include a.php again on Windows! (PHP 4 only) +include_once "a.php"; // this will include a.php +include_once "A.php"; // this will include a.php again on Windows! (PHP 4 only) ?> ]]> </programlisting>