com doc/fr: Apply commit 4774ba9dba917de68290c5d8bede51cf040d6fcd: language/control-structures/include.xml
| From: | George Peter Banyard | Date: | Sat, 02 Jan 2021 13:51:17 +0000 |
| Subject: | com doc/fr: Apply commit 4774ba9dba917de68290c5d8bede51cf040d6fcd: language/control-structures/include.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-13442@lists.php.net to get a copy of this message | ||
Commit: e5a5b9d3f5ef5f8046d40e7f3e15b58b260e906c
Author: George Peter Banyard <girgias@php.net> Sat, 2 Jan 2021 14:51:17 +0100
Parents: 951cbd5f5dc1678c4a91f42a66709822494b9840
Branches: master
Link: http://git.php.net/?p=doc/fr.git;a=commitdiff;h=e5a5b9d3f5ef5f8046d40e7f3e15b58b260e906c
Log:
Apply commit 4774ba9dba917de68290c5d8bede51cf040d6fcd
Incorrect value in include. Patch provided by anonymous 992 via edit.php.net
Changed paths:
M language/control-structures/include.xml
Diff:
diff --git a/language/control-structures/include.xml b/language/control-structures/include.xml
index 7dc838631e..d86f6bf09b 100644
--- a/language/control-structures/include.xml
+++ b/language/control-structures/include.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 5b05e0c7e6ef2e70d8f8d7a6c4dd43c44bdd95d6 Maintainer: yannick Status: ready
-->
+<!-- EN-Revision: 4774ba9dba917de68290c5d8bede51cf040d6fcd Maintainer: yannick Status: ready
-->
<!-- Reviewed: no -->
<sect1 xml:id="function.include" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -210,7 +210,7 @@ include 'http://www.example.com/file.php?foo=1&bar=2';
<programlisting role="php">
<![CDATA[
<?php
-// Ne fonctionne pas, évalué comme include(('vars.php') == TRUE), i.e.
include('')
+// Ne fonctionne pas, évalué comme include(('vars.php') == TRUE), i.e.
include('1')
if (include('vars.php') == TRUE) {
echo 'OK';
}