Lines Matching refs:tempnam
2 Test tempnam() function: error conditions
5 /* Prototype: string tempnam ( string $dir, string $prefix );
9 echo "*** Testing tempnam() error conditions ***\n";
13 var_dump( tempnam("$file_path", "tempnam_error.tmp", "") ); //Two Valid & One Invalid
14 var_dump( tempnam("$file_path", "tempnam_error.tmp", TRUE) );
17 var_dump( tempnam("tempnam_error") ); //One Valid arg
18 var_dump( tempnam("$file_path") ); //One Valid arg
19 var_dump( tempnam("") ); //Empty string
20 var_dump( tempnam(NULL) ); //NULL as arg
21 var_dump( tempnam() ); //Zero args
26 *** Testing tempnam() error conditions ***
28 Warning: tempnam() expects exactly 2 parameters, 3 given in %s on line %d
31 Warning: tempnam() expects exactly 2 parameters, 3 given in %s on line %d
34 Warning: tempnam() expects exactly 2 parameters, 1 given in %s on line %d
37 Warning: tempnam() expects exactly 2 parameters, 1 given in %s on line %d
40 Warning: tempnam() expects exactly 2 parameters, 1 given in %s on line %d
43 Warning: tempnam() expects exactly 2 parameters, 1 given in %s on line %d
46 Warning: tempnam() expects exactly 2 parameters, 0 given in %s on line %d