Lines Matching refs:settype
2 Test gettype() & settype() functions : basic functionalities
10 Prototype: bool settype ( mixed &$var, string $type );
14 /* Test the basic functionalities of settype() & gettype() functions.
15 Use the gettype() to get the type of regular data and use settype()
25 // settype() would fail with catachable fatal error
28 echo "**** Testing gettype() and settype() functions ****\n";
90 echo "\n*** Testing settype(): basic operations ***\n";
97 var_dump( settype($var, $type) );
110 **** Testing gettype() and settype() functions ****
128 *** Testing settype(): basic operations ***
542 2: settype(): Cannot convert to resource type
554 2: settype(): Cannot convert to resource type
559 2: settype(): Cannot convert to resource type
571 2: settype(): Cannot convert to resource type
576 2: settype(): Cannot convert to resource type
581 2: settype(): Cannot convert to resource type
586 2: settype(): Cannot convert to resource type
591 2: settype(): Cannot convert to resource type
596 2: settype(): Cannot convert to resource type
601 2: settype(): Cannot convert to resource type
606 2: settype(): Cannot convert to resource type
611 2: settype(): Cannot convert to resource type
616 2: settype(): Cannot convert to resource type
621 2: settype(): Cannot convert to resource type