mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
fix typo in examples (user note)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@214123 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
7cfddffc55
commit
4e79049301
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc. -->
|
||||
<refentry id="function.ssh2-sftp-lstat">
|
||||
<refnamediv>
|
||||
|
@ -34,7 +34,7 @@ $connection = ssh2_connect('shell.example.com', 22);
|
|||
ssh2_auth_password($connection, 'username', 'password');
|
||||
|
||||
$sftp = ssh2_sftp($connection);
|
||||
$statinfo = ssh2_lstat($sftp, '/path/to/symlink');
|
||||
$statinfo = ssh2_sftp_lstat($sftp, '/path/to/symlink');
|
||||
|
||||
$filesize = $statinfo['size'];
|
||||
$group = $statinfo['gid'];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc. -->
|
||||
<refentry id="function.ssh2-sftp-stat">
|
||||
<refnamediv>
|
||||
|
@ -33,7 +33,7 @@ $connection = ssh2_connect('shell.example.com', 22);
|
|||
ssh2_auth_password($connection, 'username', 'password');
|
||||
|
||||
$sftp = ssh2_sftp($connection);
|
||||
$statinfo = ssh2_stat($sftp, '/path/to/symlink');
|
||||
$statinfo = ssh2_sftp_stat($sftp, '/path/to/file');
|
||||
|
||||
$filesize = $statinfo['size'];
|
||||
$group = $statinfo['gid'];
|
||||
|
|
Loading…
Reference in a new issue