Fail. The example was correct, it was just the variable and api argument

naming that was so dead confusing :)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@281567 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2009-06-02 21:01:45 +00:00
parent 1edfcca722
commit 2a16c46460

View file

@ -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>