mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Typo fix (SplInfo to SplFileInfo) (closes doc #53346)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305506 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
7eed1ac9dd
commit
66f4bcbf6c
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
|||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$info = new SplInfo('/path/to/symlink');
|
||||
$info = new SplFileInfo('/path/to/symlink');
|
||||
if ($info->isLink()) {
|
||||
echo 'The real path is '.$info->getRealPath();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue