cvs: phpdoc /en/reference/filesystem/functions link.xml
| From: | Hannes Magnusson | Date: | Tue, 02 Jun 2009 21:01:45 +0000 |
| Subject: | cvs: phpdoc /en/reference/filesystem/functions link.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4101@lists.php.net to get a copy of this message | ||
bjori Tue Jun 2 21:01:45 2009 UTC
Modified files:
/phpdoc/en/reference/filesystem/functions link.xml
Log:
Fail. The example was correct, it was just the variable and api argument
naming that was so dead confusing :)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/link.xml?r1=1.14&r2=1.15&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/link.xml
diff -u phpdoc/en/reference/filesystem/functions/link.xml:1.14
phpdoc/en/reference/filesystem/functions/link.xml:1.15
--- phpdoc/en/reference/filesystem/functions/link.xml:1.14 Tue Jun 2 20:50:49 2009
+++ phpdoc/en/reference/filesystem/functions/link.xml Tue Jun 2 21:01:45 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.14 $ -->
+<!-- $Revision: 1.15 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.link">
<refnamediv>
<refname>link</refname>
@@ -82,10 +82,10 @@
<![CDATA[
<?php
-$dest = 'newfile.ext'; // This the filename that you want to link it to
-$source = 'source.ext'; // This is the file that already exists
+$from_path = 'source.ext'; // This is the file that already exists
+$to_path = 'newfile.ext'; // This the filename that you want to link it to
-link($dest, $source);
+link($from_path, $to_path);
?>
]]>
</programlisting>