/PHP-7.1/ext/standard/tests/general_functions/ |
H A D | gettype_settype_variation5.phpt | 2 Test gettype() & settype() functions : usage variations 19 settype() to resource type. 171 var_dump( settype($var, $type) ); 191 2: settype(): Cannot convert to resource type 197 2: settype(): Cannot convert to resource type 203 2: settype(): Cannot convert to resource type 209 2: settype(): Cannot convert to resource type 215 2: settype(): Cannot convert to resource type 221 2: settype(): Cannot convert to resource type 227 2: settype(): Cannot convert to resource type [all …]
|
H A D | gettype_settype_error.phpt | 2 Test gettype() & settype() functions : error conditions 8 Prototype: bool settype ( mixed &$var, string $type ); 12 /* Test different error conditions of settype() and gettype() functions */ 14 echo "**** Testing gettype() and settype() functions ****\n"; 22 echo "\n*** Testing settype(): error conditions ***\n"; 24 var_dump( settype() ); 28 var_dump( settype( $var, $var, "int" ) ); 31 var_dump( settype( $var, "unknown" ) ); 36 **** Testing gettype() and settype() functions **** 46 *** Testing settype(): error conditions *** [all …]
|
H A D | type.phpt | 2 gettype(), settype() and friends 50 var_dump(settype($var, $type)); 159 string(42) "settype(): Cannot convert to resource type" 169 string(42) "settype(): Cannot convert to resource type" 172 string(42) "settype(): Cannot convert to resource type" 182 string(42) "settype(): Cannot convert to resource type" 185 string(42) "settype(): Cannot convert to resource type" 188 string(42) "settype(): Cannot convert to resource type" 191 string(42) "settype(): Cannot convert to resource type" 194 string(42) "settype(): Cannot convert to resource type" [all …]
|
H A D | gettype_settype_basic.phpt | 2 Test gettype() & settype() functions : basic functionalities 25 // settype() would fail with catachable fatal error 97 var_dump( settype($var, $type) ); 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 [all …]
|
H A D | gettype_settype_variation1.phpt | 2 Test gettype() & settype() functions : usage variatoins 14 Prototype: bool settype ( mixed &$var, string $type ); 18 /* Test usage variation of gettype() and settype() functions: 19 settype() to null type. 35 // settype() would fail with catachable fatal error 161 echo "\n*** Testing gettype() & settype() functions : usage variations ***\n"; 171 var_dump( settype($var, $type) ); 186 *** Testing gettype() & settype() functions : usage variations ***
|
H A D | gettype_settype_variation6.phpt | 2 Test gettype() & settype() functions : usage variations 14 Prototype: bool settype ( mixed &$var, string $type ); 18 /* Test usage variation of gettype() and settype() functions: 19 settype() to array type. 35 // settype() would fail with catachable fatal error 161 echo "\n*** Testing gettype() & settype() functions : usage variations ***\n"; 172 var_dump( settype($var, $type) ); 188 *** Testing gettype() & settype() functions : usage variations ***
|
H A D | gettype_settype_variation8.phpt | 2 Test gettype() & settype() functions : usage variations 14 Prototype: bool settype ( mixed &$var, string $type ); 18 /* Test usage variation of gettype() and settype() functions: 19 settype() to string type. 35 // settype() would fail with catachable fatal error 161 echo "\n*** Testing gettype() & settype() functions : usage variations ***\n"; 171 var_dump( settype($var, $type) ); 186 *** Testing gettype() & settype() functions : usage variations ***
|
H A D | gettype_settype_variation7.phpt | 2 Test gettype() & settype() functions : usage variations 14 Prototype: bool settype ( mixed &$var, string $type ); 18 /* Test usage variation of gettype() and settype() functions: 19 settype() to object type. 35 // settype() would fail with catachable fatal error 161 echo "\n*** Testing gettype() & settype() functions : usage variations ***\n"; 171 var_dump( settype($var, $type) ); 186 *** Testing gettype() & settype() functions : usage variations ***
|
H A D | gettype_settype_variation2.phpt | 2 Test gettype() & settype() functions : usage variations 17 Prototype: bool settype ( mixed &$var, string $type ); 21 /* Test usage variation of gettype() and settype() functions: 22 settype() to int/integer type. 38 // settype() would fail with catachable fatal error 167 echo "\n*** Testing settype() & gettype() : usage variations ***\n"; 178 var_dump( settype($var, $type) ); 194 *** Testing settype() & gettype() : usage variations ***
|
H A D | gettype_settype_variation3.phpt | 2 Test gettype() & settype() functions : usage variations 14 Prototype: bool settype ( mixed &$var, string $type ); 18 /* Test usage variation of gettype() and settype() functions: 19 settype() to float/double type. 35 // settype() would fail with catachable fatal error 164 echo "\n*** Testing settype() & gettype() : usage variations ***\n"; 175 var_dump( settype($var, $type) ); 191 *** Testing settype() & gettype() : usage variations ***
|
H A D | gettype_settype_variation4.phpt | 2 Test gettype() & settype() functions : usage variations 14 Prototype: bool settype ( mixed &$var, string $type ); 18 /* Test usage variation of gettype() and settype() functions: 19 settype() to bool/boolean type. 35 // settype() would fail with catachable fatal error 189 echo "\n*** Testing settype() & gettype() : usage variations ***\n"; 200 var_dump( settype($var, $type) ); 216 *** Testing settype() & gettype() : usage variations ***
|
/PHP-7.1/Zend/tests/ |
H A D | settype_resource.phpt | 2 casting different variables to resource using settype() 33 settype($var, "resource"); 40 Warning: settype(): Cannot convert to resource type in %s on line %d 43 Warning: settype(): Cannot convert to resource type in %s on line %d 46 Warning: settype(): Cannot convert to resource type in %s on line %d 49 Warning: settype(): Cannot convert to resource type in %s on line %d 52 Warning: settype(): Cannot convert to resource type in %s on line %d 55 Warning: settype(): Cannot convert to resource type in %s on line %d 58 Warning: settype(): Cannot convert to resource type in %s on line %d 62 Warning: settype(): Cannot convert to resource type in %s on line %d [all …]
|
H A D | settype_null.phpt | 2 casting different variables to null using settype() 33 settype($var, "null");
|
H A D | settype_bool.phpt | 2 casting different variables to boolean using settype() 33 settype($var, "bool");
|
H A D | settype_double.phpt | 2 casting different variables to double using settype() 35 settype($var, "double");
|
H A D | settype_int.phpt | 2 casting different variables to integer using settype() 33 settype($var, "int");
|
H A D | settype_string.phpt | 2 casting different variables to string using settype() 33 settype($var, "string");
|
H A D | settype_array.phpt | 2 casting different variables to array using settype() 37 settype($var, "array");
|
H A D | settype_object.phpt | 2 casting different variables to object using settype() 33 settype($var, "object");
|
/PHP-7.1/ext/spl/tests/ |
H A D | bug73686.phpt | 2 Bug #73686 (Adding settype()ed values to ArrayObject results in references) 10 settype($var, 'string');
|
/PHP-7.1/ext/mysqli/tests/ |
H A D | 045.phpt | 36 settype($c1, "unicode"); 37 settype($c2, "unicode");
|
/PHP-7.1/ext/standard/ |
H A D | php_type.h | 29 PHP_FUNCTION(settype);
|
H A D | type.c | 93 PHP_FUNCTION(settype) in PHP_FUNCTION() argument
|
/PHP-7.1/ext/standard/tests/array/ |
H A D | bug70713.phpt | 22 array_walk_recursive($arr, 'settype');
|
/PHP-7.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_prepare_native_placeholder_everywhere.phpt | 50 settype($tmp[0]['id'], 'integer');
|