Lines Matching refs:flock
2 Test flock() function: Error conditions
6 Prototype: bool flock(resource $handle, int $operation [, int &$wouldblock]);
13 $file = dirname(__FILE__)."/flock.tmp";
32 var_dump(flock($fp, $operation));
40 var_dump(flock($fp, LOCK_SH|LOCK_NB));
42 var_dump(flock("", "", $var));
45 var_dump(flock());
46 var_dump(flock($fp));
49 var_dump(flock($fp, "", $var, ""));
55 $file = dirname(__FILE__)."/flock.tmp";
62 Warning: flock(): Illegal operation argument in %s on line %d
66 Warning: flock(): Illegal operation argument in %s on line %d
70 Warning: flock(): Illegal operation argument in %s on line %d
74 Warning: flock(): Illegal operation argument in %s on line %d
78 Warning: flock() expects parameter 2 to be integer, array given in %s on line %d
82 Warning: flock() expects parameter 2 to be integer, array given in %s on line %d
86 Warning: flock() expects parameter 2 to be integer, string given in %s on line %d
90 Warning: flock() expects parameter 2 to be integer, string given in %s on line %d
94 Warning: flock() expects parameter 2 to be integer, string given in %s on line %d
97 Warning: flock(): supplied resource is not a valid stream resource in %s on line %d
100 Warning: flock() expects parameter 1 to be resource, string given in %s on line %d
103 Warning: flock() expects at least 2 parameters, 0 given in %s on line %d
106 Warning: flock() expects at least 2 parameters, 1 given in %s on line %d
109 Warning: flock() expects at most 3 parameters, 4 given in %s on line %d