How to determine whether a file has hard links in php
<p>I want to get the number of linked hard-links of a file in PHP (same result as in <code>ls -l</code> )</p>

<p>Example : </p>

<pre><code>ls -l file1 
-rw-rw-r--. 1 lilo lilo 0 Feb 26 07:08 file1
            ^
</code></pre>

<p>How can I get this data?</p>

<p>Thank you in advance.</p>
