Lines Matching refs:gettype
2 Test gettype() & settype() functions : error conditions
5 /* Prototype: string gettype ( mixed $var );
12 /* Test different error conditions of settype() and gettype() functions */
14 echo "**** Testing gettype() and settype() functions ****\n";
16 echo "\n*** Testing gettype(): error conditions ***\n";
18 var_dump( gettype() );
20 var_dump( gettype( "1", "2" ) );
36 **** Testing gettype() and settype() functions ****
38 *** Testing gettype(): error conditions ***
40 Warning: gettype() expects exactly 1 parameter, 0 given in %s on line %d
43 Warning: gettype() expects exactly 1 parameter, 2 given in %s on line %d