Home
last modified time | relevance | path

Searched refs:type (Results 201 – 225 of 3154) sorted by relevance

12345678910>>...127

/php-src/ext/date/tests/
H A DDateTimeZone_uninitialised_exceptions.phpt48 DateObjectError: Object of type MyDateTimeZone (inheriting DateTimeZone) has not been correctly ini…
49 DateObjectError: Object of type MyDateTimeZone (inheriting DateTimeZone) has not been correctly ini…
50 DateObjectError: Object of type MyDateTimeZone (inheriting DateTimeZone) has not been correctly ini…
51 DateObjectError: Object of type MyDateTimeZone (inheriting DateTimeZone) has not been correctly ini…
52 DateObjectError: Object of type MyDateTimeZone (inheriting DateTimeZone) has not been correctly ini…
53 DateObjectError: Object of type MyDateTime (inheriting DateTime) has not been correctly initialized…
54 DateObjectError: Object of type MyDateTime (inheriting DateTime) has not been correctly initialized…
55 DateObjectError: Object of type MyDateTimeZone (inheriting DateTimeZone) has not been correctly ini…
56 DateObjectError: Object of type MyDateTimeZone (inheriting DateTimeZone) has not been correctly ini…
57 DateObjectError: Object of type MyDateTimeZone (inheriting DateTimeZone) has not been correctly ini…
[all …]
/php-src/Zend/tests/typehints/
H A Dor_null.phpt2 Test "or null"/"or be null" in type-checking errors for userland functions
211 TypeError: loadedClass(): Argument #1 ($param) must be of type ?RealClass, int given, called in %s:…
219 TypeError: callableF(): Argument #1 ($param) must be of type ?callable, int given, called in %s:%d
223 TypeError: intF(): Argument #1 ($param) must be of type ?int, stdClass given, called in %s:%d
231 TypeError: returnLoadedClass(): Return value must be of type ?RealClass, stdClass returned in %s:%d
243 TypeError: returnLoadedClassScalar(): Return value must be of type ?RealClass, int returned in %s:%d
251 TypeError: returnCallable(): Return value must be of type ?callable, int returned in %s:%d
255 TypeError: returnInt(): Return value must be of type ?int, stdClass returned in %s:%d
263 TypeError: returnMissingLoadedClass(): Return value must be of type ?RealClass, none returned in %s…
271 TypeError: returnMissingCallable(): Return value must be of type ?callable, none returned in %s:%d
[all …]
/php-src/ext/gd/libgd/
H A Dgd_xbm.c36 char *type; in gdImageCreateFromXbm() local
56 if (!(type = strrchr(iname, '_'))) { in gdImageCreateFromXbm()
57 type = iname; in gdImageCreateFromXbm()
59 type++; in gdImageCreateFromXbm()
62 if (!strcmp("width", type)) { in gdImageCreateFromXbm()
65 if (!strcmp("height", type)) { in gdImageCreateFromXbm()
83 if (!(type = strrchr(iname, '_'))) { in gdImageCreateFromXbm()
84 type = iname; in gdImageCreateFromXbm()
86 type++; in gdImageCreateFromXbm()
88 if (!strcmp("bits[]", type)) { in gdImageCreateFromXbm()
/php-src/ext/soap/tests/interop/Round4/GroupH/
H A Dr4_groupH_complex_rpcenc_001w.phpt23type="ns2:SOAPStructFault"><soapStruct xsi:type="ns2:SOAPStruct"><varString xsi:type="xsd:string">…
25type="ns1:SOAPStructFault"><soapStruct xsi:type="ns1:SOAPStruct"><varString xsi:type="xsd:string">…
H A Dr4_groupH_simple_rpcenc_006w.phpt19type="xsd:int">3</whichFault><param1 xsi:type="xsd:string">Hello world</param1><param2 SOAP-ENC:ar…
21 …"xsd:float[3]" xsi:type="ns1:ArrayOfFloat"><item xsi:type="xsd:float">12.345</item><item xsi:type=…
/php-src/ext/standard/tests/streams/
H A Dbug53427.phpt19 resource(%d) of type (stream)
21 resource(%d) of type (stream)
25 resource(%d) of type (stream)
27 resource(%d) of type (stream)
/php-src/ext/standard/tests/strings/
H A Dbug53319.phpt6 $str = '<br /><br />USD<input type="text"/><br/>CDN<br><input type="text" />';
14 string(47) "USD<input type="text"/>CDN<input type="text" />"
/php-src/ext/simplexml/
H A Dsimplexml.c158 orgtype = sxe->iter.type; in sxe_get_element_by_name()
163 sxe->iter.type = orgtype; in sxe_get_element_by_name()
177 *type = SXE_ITER_ELEMENT; in sxe_get_element_by_name()
300 } else if (type == BP_VAR_W || type == BP_VAR_RW) { in sxe_prop_dim_read()
617 SXE_ITER type; in sxe_property_get_adr() local
634 type = SXE_ITER_NONE; in sxe_property_get_adr()
1286 …r->type == XML_TEXT_NODE || nodeptr->type == XML_ELEMENT_NODE || nodeptr->type == XML_ATTRIBUTE_NO… in PHP_METHOD()
1770 switch (type) { in cast_object()
1801 if (type == _IS_BOOL) { in sxe_object_cast_ex()
1846 if (type == IS_STRING in sxe_object_cast()
[all …]
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_068.phpt69 Cannot assign null to reference held by property Foo::$i of type int
72 Cannot assign null to property Foo::$i of type int
79 Cannot assign string to property Foo::$i of type int
82 Reference with value of type string held by property Foo::$s of type string is not compatible with …
85 Reference with value of type int held by property Foo::$i of type int is not compatible with proper…
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/ext/intl/tests/
H A Dformatter_format_and_parse_errors.phpt12 /* Unknown type constant */
58 numfmt_format(): Argument #3 ($type) must be a NumberFormatter::TYPE_* constant
59 NumberFormatter::format(): Argument #2 ($type) must be a NumberFormatter::TYPE_* constant
60 numfmt_parse(): Argument #3 ($type) must be a NumberFormatter::TYPE_* constant
61 NumberFormatter::parse(): Argument #2 ($type) must be a NumberFormatter::TYPE_* constant
64 numfmt_format(): Argument #3 ($type) cannot be NumberFormatter::TYPE_CURRENCY constant, use numfmt_…
67 NumberFormatter::format(): Argument #2 ($type) cannot be NumberFormatter::TYPE_CURRENCY constant, u…
70 numfmt_parse(): Argument #3 ($type) cannot be NumberFormatter::TYPE_CURRENCY constant, use numfmt_p…
73 NumberFormatter::parse(): Argument #2 ($type) cannot be NumberFormatter::TYPE_CURRENCY constant, us…
/php-src/ext/soap/tests/schema/
H A Dschema030.phpt12 <element name="int" type="int"/>
13 <element name="str" type="string"/>
17 test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5));
22 …/"><SOAP-ENV:Body><ns1:test><testParam xsi:type="ns1:testType"><int xsi:type="xsd:int">123</int><s…
H A Dschema031.phpt12 <element name="int" type="int"/>
13 <element name="str" type="string"/>
17 test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5));
22 …/"><SOAP-ENV:Body><ns1:test><testParam xsi:type="ns1:testType"><int xsi:type="xsd:int">123</int><s…
H A Dschema053.phpt2 SOAP XML Schema 52: Array in complex type (maxOccurs > 1, empty array)
12 <element name="int" type="int"/>
13 <element name="int2" type="int" minOccurs="0" maxOccurs="unbounded"/>
17 test_schema($schema,'type="tns:testType"',(object)array("int"=>123.5,"int2"=>array()));
22 …org/soap/encoding/"><SOAP-ENV:Body><ns1:test><testParam xsi:type="ns1:testType"><int xsi:type="xsd…
/php-src/ext/standard/
H A Dphp_dns.h23 #define php_dns_search(res, dname, class, type, answer, anslen) \ argument
24 …((int)dns_search(res, dname, class, type, (char *) answer, anslen, (struct sockaddr *)&from, &from…
30 #define php_dns_search(res, dname, class, type, answer, anslen) \ argument
31 res_nsearch(res, dname, class, type, answer, anslen);
44 #define php_dns_search(res, dname, class, type, answer, anslen) \ argument
45 res_search(dname, class, type, answer, anslen)
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/standard/tests/array/
H A Darray_product_variation1.phpt16 foreach ($types as $desc => $type) {
18 var_dump(array_product([1, $type]));
33 Warning: array_product(): Multiplication is not supported on type string in %s on line %d
41 Warning: array_product(): Multiplication is not supported on type resource in %s on line %d
46 Warning: array_product(): Multiplication is not supported on type A in %s on line %d
54 Warning: array_product(): Multiplication is not supported on type array in %s on line %d
/php-src/ext/xml/tests/
H A Dxml_set_element_handler_errors.phpt22 echo 'Invalid start callable type true:', PHP_EOL;
28 echo 'Invalid end callable type true:', PHP_EOL;
35 echo 'Invalid start callable type int:', PHP_EOL;
41 echo 'Invalid end callable type int:', PHP_EOL;
79 TypeError: xml_set_element_handler(): Argument #1 ($parser) must be of type XMLParser, stdClass giv…
80 Invalid start callable type true:
82 Invalid end callable type true:
83 TypeError: xml_set_element_handler(): Argument #3 ($end_handler) must be of type callable|string|nu…
84 Invalid start callable type int:
86 Invalid end callable type int:
[all …]
/php-src/ext/opcache/tests/jit/
H A Dreg_alloc_001.phpt22 $type |= self::EXCLUDE_PUBLIC;
24 $type |= self::EXCLUDE_PRIVATE;
27 if ((self::EXCLUDE_STRICT & $filter) ? $type === $filter : $type) {
/php-src/ext/tidy/tests/
H A D010.phpt26 ["type"]=>
52 ["type"]=>
75 ["type"]=>
121 ["type"]=>
152 ["type"]=>
183 ["type"]=>
206 ["type"]=>
227 ["type"]=>
252 ["type"]=>
282 ["type"]=>
[all …]
/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/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…

Completed in 45 milliseconds

12345678910>>...127