[lang-ref] Get source directory path ( php )
<?php
public function testGetSourceDirectoryPath(): void
{
// __DIR__
$expected = dirname(__FILE__);
$actual = __DIR__;
$this->assertSame($expected, $actual);
}
<?php
public function testGetSourceDirectoryPath(): void
{
// __DIR__
$expected = dirname(__FILE__);
$actual = __DIR__;
$this->assertSame($expected, $actual);
}