public function realpath_resolve_relative_without_symlinks_data() { if (!function_exists('getcwd')) { return array(); } $filesystem = new \phpbb\filesystem\filesystem(); $relative_path = $filesystem->make_path_relative(__DIR__, getcwd()); return array(array($relative_path, __DIR__), array($relative_path . '../filesystem/../filesystem', __DIR__), array($relative_path . '././', __DIR__), array($relative_path . 'realpath_test.php', __FILE__)); }