1--TEST--
2SPL: SplFileInfo test getOwner
3--CREDITS--
4Cesare D'Amico <cesare.damico@gruppovolta.it>
5Andrea Giorgini <agiorg@gmail.com>
6Filippo De Santis <fd@ideato.it>
7Daniel Londero <daniel.londero@gmail.com>
8Francesco Trucchia <ft@ideato.it>
9Jacopo Romei <jacopo@sviluppoagile.it>
10#Test Fest Cesena (Italy) on 2009-06-20
11--FILE--
12<?php
13$filename = __DIR__ . "/SplFileInfo_getOwner_basic";
14touch($filename);
15$fileInfo = new SplFileInfo($filename);
16$expected = fileowner($filename);
17$actual = $fileInfo->getOwner();
18var_dump($expected == $actual);
19?>
20--CLEAN--
21<?php
22$filename = __DIR__ . "/SplFileInfo_getOwner_basic";
23unlink($filename);
24?>
25--EXPECT--
26bool(true)
27