[lang-ref] ( resolve_symbolic_link ) ( php )
<?php
public function testResolveSymbolicLink(): void
{
// realpath($path)
$resolvedPath = realpath('/tmp');
$this->assertSame('/private/tmp', $resolvedPath); // example in macOS
}
<?php
public function testResolveSymbolicLink(): void
{
// realpath($path)
$resolvedPath = realpath('/tmp');
$this->assertSame('/private/tmp', $resolvedPath); // example in macOS
}