mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
1edfcca722
commit
2a16c46460
1 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue