Lines Matching refs:type

8    Description: Returns the type of the PHP variable var
10 Prototype: bool settype ( mixed &$var, string $type );
11 Description: Set the type of variable var to type
15 Use the gettype() to get the type of regular data and use settype()
16 to change its type to other types */
91 foreach ($types as $type) {
92 echo "\n-- Setting type of data to $type --\n";
96 // set to new type
97 var_dump( settype($var, $type) );
102 // check the new type
130 -- Setting type of data to null --
188 -- Setting type of data to integer --
247 -- Setting type of data to int --
306 -- Setting type of data to float --
365 -- Setting type of data to double --
424 -- Setting type of data to boolean --
482 -- Setting type of data to bool --
540 -- Setting type of data to resource --
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
613 resource(%d) of type (stream)
616 2: settype(): Cannot convert to resource type
618 resource(%d) of type (stream)
621 2: settype(): Cannot convert to resource type
631 -- Setting type of data to array --
719 resource(%d) of type (stream)
726 resource(%d) of type (stream)
739 -- Setting type of data to object --
827 resource(%d) of type (stream)
834 resource(%d) of type (stream)
847 -- Setting type of data to string --