1--TEST--
2SPL: SplFileObject::getSize
3--CREDITS--
4H�vard Eide <nucleuz at gmail.com>
5#Testfest php.no
6--INI--
7include_path=.
8--FILE--
9<?php
10$file = __DIR__ ."/data.txt";
11file_put_contents($file, "foobar");
12
13$s = new SplFileObject( $file );
14echo $s->getSize();
15?>
16--CLEAN--
17<?php
18$file = __DIR__ ."/data.txt";
19unlink($file);
20?>
21--EXPECT--
226
23