1--TEST--
2Test filesize() function: usage variations - size of files
3--CREDITS--
4Dave Kelsey <d_kelsey@uk.ibm.com>
5--FILE--
6<?php
7echo "*** Testing filesize(): usage variations ***\n";
8
9/* null, false, "", " " */
10var_dump( filesize(false) );
11var_dump( filesize('') );
12var_dump( filesize(' ') );
13var_dump( filesize('|') );
14echo "*** Done ***\n";
15?>
16--EXPECTF--
17*** Testing filesize(): usage variations ***
18bool(false)
19bool(false)
20
21Warning: filesize(): stat failed for   in %s on line %d
22bool(false)
23
24Warning: filesize(): stat failed for | in %s on line %d
25bool(false)
26*** Done ***
27