include() is case INsensitive on Windows

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@139099 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Damien Seguy 2003-08-29 12:03:13 +00:00
parent 73e8e37698
commit afc1c97d47

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.79 $ -->
<!-- $Revision: 1.80 $ -->
<chapter id="control-structures">
<title>Control Structures</title>
@ -1461,7 +1461,7 @@ echo $bar; // prints 1
and <function>include_once</function> may not be what you expect
on a non case sensitive operating system (such as Windows).
<example>
<title><function>require_once</function> is case sensitive</title>
<title><function>require_once</function> is case insensitive on Windows</title>
<programlisting role="php">
<![CDATA[
<?php
@ -1476,11 +1476,11 @@ require_once("A.php"); // this will include a.php again on Windows!
</para>
&warn.no-win32-fopen-wrapper;
<para>
See also: <function>require</function>,
See also <function>require</function>,
<function>include</function>, <function>include_once</function>,
<function>get_required_files</function>,
<function>get_included_files</function>, <function>readfile</function>,
and <function>virtual</function>.
<function>get_included_files</function>, <function>readfile</function>, and
<function>virtual</function>.
</para>
</sect1>
@ -1521,7 +1521,7 @@ require_once("A.php"); // this will include a.php again on Windows!
and <function>require_once</function> may not be what you expect
on a non case sensitive operating system (such as Windows).
<example>
<title><function>include_once</function> is case sensitive</title>
<title><function>include_once</function> is case insensitive on Windows</title>
<programlisting role="php">
<![CDATA[
<?php