cvs: phpdoc /en/reference/filesystem/functions file-get-contents.xml
| From: | Aidan Lister | Date: | Sat, 28 Aug 2004 06:22:46 +0000 |
| Subject: | cvs: phpdoc /en/reference/filesystem/functions file-get-contents.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969363547@lists.php.net to get a copy of this message | ||
aidan Sat Aug 28 02:22:46 2004 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions file-get-contents.xml
Log:
Fixed typo
http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/file-get-contents.xml?r1=1.16&r2=1.17&ty=u
Index: phpdoc/en/reference/filesystem/functions/file-get-contents.xml
diff -u phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.16
phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.17
--- phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.16 Fri Jul 16 07:20:24 2004
+++ phpdoc/en/reference/filesystem/functions/file-get-contents.xml Sat Aug 28 02:22:46 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.16 $ -->
+<!-- $Revision: 1.17 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.130 -->
<refentry id="function.file-get-contents">
<refnamediv>
@@ -33,9 +33,9 @@
<programlisting role="php">
<![CDATA[
<?php
-$url = "http://foobar.com/with funny chars";
-list($protocol, $uri) = split("//", $url);
-$html = file_get_contents($proto . "//" . urlencode($uri));
+$url = 'http://foobar.com/with funny chars';
+list($protocol, $uri) = split('//', $url);
+$html = file_get_contents($protocol . '//' . urlencode($uri));
?>
]]>
</programlisting>