1--TEST--
2SPL: Spl File Info test getPerms
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
14//file
15$fileInfo = new SplFileInfo('not_existing');
16var_dump($fileInfo->getPerms() == 0100557);
17?>
18--EXPECTF--
19Fatal error: Uncaught RuntimeException: SplFileInfo::getPerms(): stat failed for %s in %s
20Stack trace:
21#0 %s: SplFileInfo->getPerms()
22#1 {main}
23  thrown in %s
24