1--TEST-- 2SPL: Spl Directory Iterator test getInode 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--SKIPIF-- 12<?php 13if (PHP_OS_FAMILY === 'Windows') { die('SKIP Testing file inodes, not available for Windows'); } 14?> 15--FILE-- 16<?php 17 18//file 19mkdir('test_dir_ptfi'); 20$dirIterator = new DirectoryIterator('test_dir_ptfi'); 21var_dump(decoct($dirIterator->getInode())); 22 23?> 24--CLEAN-- 25<?php 26rmdir('test_dir_ptfi'); 27?> 28--EXPECTF-- 29string(%d) "%d" 30