1--TEST--
2Test file_exists() function : usage variations
3--CREDITS--
4Dave Kelsey <d_kelsey@uk.ibm.com>
5--FILE--
6<?php
7/* Prototype  : proto bool file_exists(string filename)
8 * Description: Returns true if filename exists
9 * Source code: ext/standard/filestat.c
10 * Alias to functions:
11 */
12
13echo "*** Testing file_exists() : usage variations ***\n";
14
15var_dump(file_exists(NULL));
16var_dump(file_exists(false));
17var_dump(file_exists(''));
18var_dump(file_exists(' '));
19var_dump(file_exists('|'));
20echo "Done";
21?>
22--EXPECTF--
23*** Testing file_exists() : usage variations ***
24bool(false)
25bool(false)
26bool(false)
27bool(false)
28bool(false)
29Done
30