Home
last modified time | relevance | path

Searched refs:type (Results 226 – 250 of 3256) sorted by relevance

12345678910>>...131

/php-src/ext/libxml/tests/
H A D004.phpt31 libxml_set_streams_context(): Argument #1 ($context) must be of type resource, null given
33 libxml_set_streams_context(): Argument #1 ($context) must be of type resource, string given
35 libxml_set_streams_context(): Argument #1 ($context) must be of type resource, int given
37 libxml_set_streams_context(): Argument #1 ($context) must be of type resource, stdClass given
39 libxml_set_streams_context(): Argument #1 ($context) must be of type resource, array given
/php-src/ext/spl/tests/
H A DArrayObject_illegal_offset.phpt35 Cannot access offset of type array on ArrayObject
36 Cannot access offset of type array on ArrayObject
37 Cannot access offset of type array on ArrayObject
38 Cannot access offset of type array in isset or empty
39 Cannot unset offset of type array on ArrayObject
/php-src/ext/hash/tests/
H A Dhash_equals.phpt42 [TypeError] hash_equals(): Argument #1 ($known_string) must be of type string, int given
43 [TypeError] hash_equals(): Argument #2 ($user_string) must be of type string, int given
44 [TypeError] hash_equals(): Argument #1 ($known_string) must be of type string, int given
45 [TypeError] hash_equals(): Argument #1 ($known_string) must be of type string, null given
46 [TypeError] hash_equals(): Argument #1 ($known_string) must be of type string, null given
47 [TypeError] hash_equals(): Argument #1 ($known_string) must be of type string, null given
/php-src/ext/soap/tests/schema/
H A Dschema041.phpt15 <element name="int" type="int"/>
16 <element name="str" type="string"/>
20 test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5));
25 …/"><SOAP-ENV:Body><ns1:test><testParam xsi:type="ns1:testType"><int xsi:type="xsd:int">123</int><s…
H A Dschema047.phpt2 SOAP XML Schema 47: Extension of complex type (2)
12 <element name="int" type="int"/>
18 <attribute name="int2" type="int"/>
23 test_schema($schema,'type="tns:testType"',(object)array("_"=>123.5,"int"=>123.5,"int2"=>123.5));
28 …ap/encoding/"><SOAP-ENV:Body><ns1:test><testParam xsi:type="ns1:testType" int2="123"><int xsi:type
H A Dschema054.phpt12 test_schema($schema,'type="apache:Map" xmlns:apache="http://xml.apache.org/xml-soap"',array('a'=>12…
17type="ns2:Map"><item><key xsi:type="xsd:string">a</key><value xsi:type="xsd:int">123</value></item…
H A Dschema055.phpt19 test_schema($schema,'type="testType"',array('a'=>123,'b'=>123.5));
24type="ns2:Map"><item><key xsi:type="xsd:string">a</key><value xsi:type="xsd:int">123</value></item…
/php-src/ext/reflection/tests/
H A Dbug80190.phpt2 Bug #80190: ReflectionMethod::getReturnType() does not handle static as part of union type
33 print ' type(s) in union: ';
37 foreach ($method->getReturnType()->getTypes() as $type) {
38 $types[] = get_class($type) . "($type)";
57 type(s) in union: ReflectionNamedType(stdClass), ReflectionNamedType(self)
67 type(s) in union: ReflectionNamedType(stdClass), ReflectionNamedType(static)
/php-src/ext/soap/tests/soap12/
H A DT43.phpt15 <inputStruct xsi:type="ns1:SOAPStruct"
17 <varInt xsi:type="xsd:int">42</varInt>
18 <varFloat xsi:type="xsd:float">0.005</varFloat>
19 <varString xsi:type="xsd:string">hello world</varString>
29 …<outputString xsi:type="xsd:string">hello world</outputString><outputInteger xsi:type="xsd:int">42…
H A DT44.phpt15 <inputInt xsi:type="xsd:int">42</inputInt>
16 <inputFloat xsi:type="xsd:float">0.005</inputFloat>
17 <inputString xsi:type="xsd:string">hello world</inputString>
26 …turn xsi:type="ns2:SOAPStruct"><varString xsi:type="xsd:string">hello world</varString><varInt xsi…
/php-src/Zend/tests/type_declarations/
H A Dscalar_null.phpt2 Scalar type nullability
17 foreach ($functions as $type => $function) {
18 echo "Testing $type:", PHP_EOL;
30 *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, null given, called in %s on lin…
32 *** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, null given, called in %s on l…
34 *** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, null given, called in %s on …
36 *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, null given, called in %s on li…
/php-src/ext/soap/tests/bugs/
H A Dbug73237.phpt12type="QueryResult"><done>true</done><queryLocator xsi:nil="true"/><records xsi:type="sf:genericObj…
33 ["type"]=>
48 ["type"]=>
/php-src/sapi/cgi/tests/
H A D011.phpt68 Content-type: text/html; charset=UTF-8
73 Content-type: text/html; charset=UTF-8
79 Content-type: text/html; charset=UTF-8
88 Content-type: text/html; charset=UTF-8
99 Content-type: text/html; charset=UTF-8
109 Content-type: text/html; charset=UTF-8
121 Content-type: text/html; charset=UTF-8
131 Content-type: text/html; charset=UTF-8
139 Content-type: text/html; charset=UTF-8
147 Content-type: text/html; charset=UTF-8
[all …]
/php-src/ext/standard/
H A Ddl.c110 PHPAPI int php_load_extension(const char *filename, int type, int start_now) in php_load_extension() argument
120 if (type == MODULE_PERSISTENT) { in php_load_extension()
126 if (type == MODULE_TEMPORARY) { in php_load_extension()
135 if (type == MODULE_TEMPORARY) { in php_load_extension()
234 if ((module_entry = zend_register_module_ex(module_entry, type)) == NULL) { in php_load_extension()
241 if ((type == MODULE_TEMPORARY || start_now) && zend_startup_module_ex(module_entry) == FAILURE) { in php_load_extension()
246 if ((type == MODULE_TEMPORARY || start_now) && module_entry->request_startup_func) { in php_load_extension()
247 if (module_entry->request_startup_func(type, module_entry->module_number) == FAILURE) { in php_load_extension()
271 PHPAPI int php_load_extension(const char *filename, int type, int start_now) in php_load_extension() argument
281 PHPAPI void php_dl(const char *file, int type, zval *return_value, int start_now) in php_dl() argument
[all …]
/php-src/ext/soap/tests/
H A Dgh15711.phpt70 echo "--- Test with mismatched enum backing type ---\n";
84type="ns1:book"><base64 xsi:type="xsd:base64Binary">QmFja2luZ1ZhbHVlMQ==</base64><string xsi:type=…
87 --- Test with mismatched enum backing type ---
/php-src/
H A D.gdbinit95 set $type = $zvalue->u1.v.type
127 printf "unknown type %d", $type
163 set $type = $zvalue->u1.v.type
166 if $type > 5 && $type < 12
170 if $type == 0
173 if $type == 1
176 if $type == 2
179 if $type == 3
182 if $type == 4
185 if $type == 5
[all …]
/php-src/ext/standard/tests/dir/
H A Dopendir_variation7.phpt76 resource(%d) of type (stream)
80 resource(%d) of type (stream)
84 resource(%d) of type (stream)
88 resource(%d) of type (stream)
92 resource(%d) of type (stream)
96 resource(%d) of type (stream)
100 resource(%d) of type (stream)
104 resource(%d) of type (stream)
108 resource(%d) of type (stream)
112 resource(%d) of type (stream)
/php-src/ext/soap/tests/interop/Round2/Base/
H A Dr2_base_011w.phpt18 …ype="xsd:int[3]" xsi:type="ns2:ArrayOfint"><item xsi:type="xsd:int">1</item><item xsi:type="xsd:in…
20 …ype="xsd:int[3]" xsi:type="ns2:ArrayOfint"><item xsi:type="xsd:int">1</item><item xsi:type="xsd:in…
H A Dr2_base_013w.phpt19 …xsd:float[3]" xsi:type="ns2:ArrayOffloat"><item xsi:type="xsd:float">1.3223</item><item xsi:type="…
21 …xsd:float[3]" xsi:type="ns2:ArrayOffloat"><item xsi:type="xsd:float">1.3223</item><item xsi:type="…
/php-src/ext/dom/
H A Dhtml_collection.c101 zval *dom_html_collection_read_dimension(zend_object *object, zval *offset, int type, zval *rv) in dom_html_collection_read_dimension() argument
109 if (UNEXPECTED(index.type == DOM_NODELIST_DIM_ILLEGAL)) { in dom_html_collection_read_dimension()
110 zend_illegal_container_offset(object->ce->name, offset, type); in dom_html_collection_read_dimension()
114 if (index.type == DOM_NODELIST_DIM_STRING) { in dom_html_collection_read_dimension()
117 ZEND_ASSERT(index.type == DOM_NODELIST_DIM_LONG); in dom_html_collection_read_dimension()
130 if (UNEXPECTED(index.type == DOM_NODELIST_DIM_ILLEGAL)) { in dom_html_collection_has_dimension()
135 if (index.type == DOM_NODELIST_DIM_STRING) { in dom_html_collection_has_dimension()
138 ZEND_ASSERT(index.type == DOM_NODELIST_DIM_LONG); in dom_html_collection_has_dimension()
/php-src/ext/standard/tests/file/
H A Dfile_basic.phpt13 foreach( $filetypes as $type ) {
14 create_files($file_path, 1, $type, 0755, 100, "w", "file_basic", 1, "byte");
19 echo "*** Testing for return type of file() function ***\n";
20 foreach( $filetypes as $type ) {
21 create_files($file_path, 1, $type, 0755, 1, "w", "file_basic");
68 *** Testing for return type of file() function ***
H A Dstream_supports_lock.phpt38 resource(%d) of type (stream)
40 resource(%d) of type (stream)
42 resource(%d) of type (stream)
44 resource(%d) of type (stream)
46 resource(%d) of type (stream-context)
/php-src/ext/standard/tests/array/
H A Dcount_invalid.phpt50 count(): Argument #1 ($value) must be of type Countable|array, null given
51 count(): Argument #1 ($value) must be of type Countable|array, string given
52 count(): Argument #1 ($value) must be of type Countable|array, int given
53 count(): Argument #1 ($value) must be of type Countable|array, true given
54 count(): Argument #1 ($value) must be of type Countable|array, false given
55 count(): Argument #1 ($value) must be of type Countable|array, stdClass given
/php-src/ext/standard/tests/general_functions/
H A Dgettype_settype_basic.phpt9 to change its type to other types */
84 foreach ($types as $type) {
85 echo "\n-- Setting type of data to $type --\n";
91 // set to new type
97 // check the new type
540 Cannot convert to resource type
542 Cannot convert to resource type
544 Cannot convert to resource type
546 Cannot convert to resource type
548 Cannot convert to resource type
[all …]
/php-src/ext/standard/tests/filters/
H A Dbasic.phpt31 resource(%d) of type (stream filter)
34 resource(%d) of type (stream filter)
37 resource(%d) of type (stream filter)
40 resource(%d) of type (stream filter)
42 resource(%d) of type (stream filter)

Completed in 57 milliseconds

12345678910>>...131