Annotation of embedaddon/php/ext/spl/tests/DirectoryIterator_getInode_basic.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: SPL: Spl Directory Iterator test getInode
3: --CREDITS--
4: Cesare D'Amico <cesare.damico@gruppovolta.it>
5: Andrea Giorgini <agiorg@gmail.com>
6: Filippo De Santis <fd@ideato.it>
7: Daniel Londero <daniel.londero@gmail.com>
8: Francesco Trucchia <ft@ideato.it>
9: Jacopo Romei <jacopo@sviluppoagile.it>
10: #Test Fest Cesena (Italy) on 2009-06-20
11: --SKIPIF--
12: <?php
13: if (substr(PHP_OS, 0, 3) == 'WIN') die("skip this test not for Windows platforms");
14: ?>
15: --FILE--
16: <?php
17:
18: //file
19: mkdir('test_dir_ptfi');
20: $dirIterator = new DirectoryIterator('test_dir_ptfi');
21: var_dump(decoct($dirIterator->getInode()));
22:
23: ?>
24: --CLEAN--
25: <?php
26: rmdir('test_dir_ptfi');
27: ?>
28: --EXPECTF--
29: string(%d) "%d"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>