/PHP-8.4/ext/standard/tests/general_functions/ |
H A D | gettype_settype_error.phpt | 2 Test gettype() & settype() functions : error conditions 5 /* Test different error conditions of settype() and gettype() functions */ 7 echo "**** Testing gettype() and settype() functions ****\n"; 9 echo "\n*** Testing settype(): error conditions ***\n"; 13 settype( $var, "unknown" ); 21 **** Testing gettype() and settype() functions **** 23 *** Testing settype(): error conditions *** 24 settype(): Argument #2 ($type) must be a valid type
|
H A D | settype_typed_property.phpt | 2 Using settype() on a typed property 12 settype($test->x, 'string'); 18 settype($test->x, 'array');
|
H A D | gettype_settype_variation1.phpt | 2 Test gettype() & settype() functions : usage variations 11 /* Test usage variation of gettype() and settype() functions: 12 settype() to null type. 28 // settype() would fail with catachable fatal error 146 echo "\n*** Testing gettype() & settype() functions : usage variations ***\n"; 156 var_dump( settype($var, $type) ); 168 *** Testing gettype() & settype() functions : usage variations ***
|
H A D | gettype_settype_variation8.phpt | 2 Test gettype() & settype() functions : usage variations 11 /* Test usage variation of gettype() and settype() functions: 12 settype() to string type. 28 // settype() would fail with catachable fatal error 146 echo "\n*** Testing gettype() & settype() functions : usage variations ***\n"; 156 var_dump( settype($var, $type) ); 168 *** Testing gettype() & settype() functions : usage variations ***
|
H A D | gettype_settype_variation6.phpt | 2 Test gettype() & settype() functions : usage variations 11 /* Test usage variation of gettype() and settype() functions: 12 settype() to array type. 28 // settype() would fail with catachable fatal error 146 echo "\n*** Testing gettype() & settype() functions : usage variations ***\n"; 157 var_dump( settype($var, $type) ); 170 *** Testing gettype() & settype() functions : usage variations ***
|
H A D | gettype_settype_basic.phpt | 2 Test gettype() & settype() functions : basic functionalities 7 /* Test the basic functionalities of settype() & gettype() functions. 8 Use the gettype() to get the type of regular data and use settype() 18 // settype() would fail with catachable fatal error 21 echo "**** Testing gettype() and settype() functions ****\n"; 83 echo "\n*** Testing settype(): basic operations ***\n"; 92 var_dump( settype($var, $type) ); 108 **** Testing gettype() and settype() functions **** 126 *** Testing settype(): basic operations ***
|
H A D | gettype_settype_variation7.phpt | 2 Test gettype() & settype() functions : usage variations 11 /* Test usage variation of gettype() and settype() functions: 12 settype() to object type. 28 // settype() would fail with catachable fatal error 146 echo "\n*** Testing gettype() & settype() functions : usage variations ***\n"; 156 var_dump( settype($var, $type) ); 168 *** Testing gettype() & settype() functions : usage variations ***
|
H A D | gettype_settype_variation5.phpt | 2 Test gettype() & settype() functions : usage variations 11 /* Test usage variation of gettype() and settype() functions: 12 settype() to resource type. 135 echo "\n*** Testing gettype() & settype() functions : usage variations ***\n"; 146 var_dump(settype($var, $type)); 161 *** Testing gettype() & settype() functions : usage variations ***
|
H A D | gettype_settype_variation2.phpt | 2 Test gettype() & settype() functions : usage variations 15 /* Test usage variation of gettype() and settype() functions: 16 settype() to int/integer type. 32 // settype() would fail with catachable fatal error 153 echo "\n*** Testing settype() & gettype() : usage variations ***\n"; 164 var_dump( settype($var, $type) ); 177 *** Testing settype() & gettype() : usage variations ***
|
H A D | gettype_settype_variation3.phpt | 2 Test gettype() & settype() functions : usage variations 9 /* Test usage variation of gettype() and settype() functions: 10 settype() to float/double type. 26 // settype() would fail with catachable fatal error 147 echo "\n*** Testing settype() & gettype() : usage variations ***\n"; 158 var_dump( settype($var, $type) ); 171 *** Testing settype() & gettype() : usage variations ***
|
H A D | gettype_settype_variation4.phpt | 2 Test gettype() & settype() functions : usage variations 11 /* Test usage variation of gettype() and settype() functions: 12 settype() to bool/boolean type. 28 // settype() would fail with catachable fatal error 174 echo "\n*** Testing settype() & gettype() : usage variations ***\n"; 185 var_dump( settype($var, $type) ); 198 *** Testing settype() & gettype() : usage variations ***
|
H A D | type.phpt | 2 gettype(), settype() and friends 51 var_dump(settype($var, $type));
|
/PHP-8.4/Zend/tests/ |
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");
|
H A D | settype_resource.phpt | 2 casting different variables to resource using settype() 34 settype($var, "resource");
|
/PHP-8.4/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-8.4/ext/standard/tests/array/ |
H A D | bug70713.phpt | 24 array_walk_recursive($arr, 'settype');
|
/PHP-8.4/ext/opcache/tests/jit/ |
H A D | assign_036.phpt | 32 \settype($tmp, $newType);
|
/PHP-8.4/ext/standard/tests/strings/ |
H A D | locale_independent_float_to_string.phpt | 23 settype($g, "string");
|
/PHP-8.4/ext/standard/ |
H A D | type.c | 84 PHP_FUNCTION(settype) in PHP_FUNCTION() argument
|