Home
last modified time | relevance | path

Searched refs:type (Results 101 – 125 of 2004) sorted by relevance

12345678910>>...81

/PHP-7.0/ext/standard/tests/general_functions/
H A Dtype.phpt48 foreach ($types as $type) {
50 var_dump(settype($var, $type));
66 string(12) "unknown type"
159 string(42) "settype(): Cannot convert to resource type"
169 string(42) "settype(): Cannot convert to resource type"
199 resource(%d) of type (Unknown)
202 resource(%d) of type (stream)
256 resource(%d) of type (Unknown)
261 resource(%d) of type (stream)
315 resource(%d) of type (Unknown)
[all …]
H A Dgettype_settype_basic.phpt11 Description: Set the type of variable var to type
91 foreach ($types as $type) {
92 echo "\n-- Setting type of data to $type --\n";
96 // set to new type
102 // check the new type
130 -- Setting type of data to null --
247 -- Setting type of data to int --
613 resource(%d) of type (stream)
618 resource(%d) of type (stream)
719 resource(%d) of type (stream)
[all …]
/PHP-7.0/ext/soap/
H A Dphp_encoding.c618 if (type && type->map && Z_TYPE(type->map->to_xml) != IS_UNDEF) { in to_xml_user()
646 if (type && type->map && Z_TYPE(type->map->to_zval) != IS_UNDEF) { in to_zval_user()
2600 if (type->sdl_type && type->sdl_type->elements && in to_zval_array()
3217 if (type->encode && enc != &type->encode->details) { in sdl_guess_convert_zval()
3231 (type->encode->details.type == IS_ARRAY || in sdl_guess_convert_zval()
3232 type->encode->details.type == SOAP_ENC_ARRAY)) { in sdl_guess_convert_zval()
3281 if (type->encode && enc != &type->encode->details) { in sdl_guess_convert_xml()
3297 (type->encode->details.type == IS_ARRAY || in sdl_guess_convert_xml()
3298 type->encode->details.type == SOAP_ENC_ARRAY)) { in sdl_guess_convert_xml()
3363 set_ns_and_type_ex(node, type->ns, type->type_str); in set_ns_and_type()
[all …]
/PHP-7.0/ext/xml/tests/
H A Dbug50576.phpt67 [type] => open
81 [type] => open
90 [type] => complete
100 [type] => cdata
107 [type] => close
116 [type] => cdata
123 [type] => close
/PHP-7.0/ext/soap/tests/schema/
H A Dschema036.phpt11 <element name="int" type="int"/>
15 <element name="int" type="int"/>
22 test_schema($schema,'type="tns:testType"',(object)array("int"=>123.5,"testType2"=>array("int"=>123.…
27 …<ns1:test><testParam xsi:type="ns1:testType"><int xsi:type="xsd:int">123</int><testType2 xsi:type=…
H A Dschema085.phpt2 SOAP XML Schema 85: Extension of complex type (elements order)
11 <element name="int" type="int"/>
18 <element name="int2" type="int"/>
33 test_schema($schema,'type="tns:testType"',new B());
38 …g/"><SOAP-ENV:Body><ns1:test><testParam xsi:type="ns1:testType"><int xsi:type="xsd:int">1</int><in…
H A Dschema049.phpt2 SOAP XML Schema 49: Restriction of complex type (2)
11 <element name="int" type="int"/>
12 <element name="int2" type="int"/>
19 <element name="int2" type="int"/>
25 test_schema($schema,'type="tns:testType"',(object)array("_"=>123.5,"int"=>123.5,"int2"=>123.5));
30 …rg/soap/encoding/"><SOAP-ENV:Body><ns1:test><testParam xsi:type="ns1:testType"><int2 xsi:type="xsd…
H A Dschema030.phpt11 <element name="int" type="int"/>
12 <element name="str" type="string"/>
16 test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5));
21 …/"><SOAP-ENV:Body><ns1:test><testParam xsi:type="ns1:testType"><int xsi:type="xsd:int">123</int><s…
/PHP-7.0/Zend/
H A Dzend_list.c34 ZEND_API zval *zend_list_insert(void *ptr, int type) in zend_list_insert() argument
43 ZVAL_NEW_RES(&zv, index, ptr, type); in zend_list_insert()
70 res->type = -1; in zend_resource_dtor()
73 ld = zend_hash_index_find_ptr(&list_destructors, r.type); in zend_resource_dtor()
88 } else if (res->type >= 0) { in zend_list_close()
106 if (resource_type1 == res->type) { in zend_fetch_resource2()
110 if (resource_type2 == res->type) { in zend_fetch_resource2()
126 if (resource_type == res->type) { in zend_fetch_resource()
186 if (res->type >= 0) { in list_entry_destructor()
196 if (res->type >= 0) { in plist_entry_destructor()
[all …]
/PHP-7.0/sapi/cli/tests/
H A D022.phpt2 STDIN/OUT/ERR stream type
43 resource(%d) of type (stream)
44 resource(%d) of type (process)
45 resource(%d) of type (stream)
46 resource(%d) of type (stream)
47 resource(%d) of type (stream)
/PHP-7.0/tests/output/
H A Dob_013.phpt41 [type] => 1
53 [type] => 0
64 [type] => 1
75 [type] => 1
86 [type] => 1
97 [type] => 1
/PHP-7.0/ext/standard/tests/array/
H A Din_array_variation2.phpt34 /* loop to do loose and strict type check of elements in
36 checking PHP type comparison tables
39 foreach($array_type as $type) {
41 //loose type checking
42 var_dump( in_array($type,$misc_array ) );
43 //strict type checking
44 var_dump( in_array($type,$misc_array,true) );
45 //loose type checking
46 var_dump( in_array($type,$misc_array,false) );
H A Darray_slice_variation7.phpt102 foreach($inputs as $type => $input) {
103 echo "\n-- Iteration $iterator : key type is $type --\n";
117 -- Iteration 1 : key type is int --
141 -- Iteration 2 : key type is float --
161 -- Iteration 3 : key type is extreme floats --
177 -- Iteration 4 : key type is null uppercase --
189 -- Iteration 5 : key type is null lowercase --
201 -- Iteration 6 : key type is bool lowercase --
257 -- Iteration 10 : key type is string --
277 -- Iteration 11 : key type is undefined --
[all …]
/PHP-7.0/
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 != 15
170 if $type == 0
173 if $type == 1
176 if $type == 2
179 if $type == 3
205 if $type == 8
237 if $type == 9
[all …]
/PHP-7.0/ext/soap/tests/soap12/
H A DT41.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 …turn xsi:type="ns2:SOAPStruct"><varString xsi:type="xsd:string">hello world</varString><varInt xsi…
/PHP-7.0/ext/soap/tests/interop/Round4/GroupH/
H A Dr4_groupH_complex_rpcenc_005w.phpt34type="xsd:int">2</whichFault><param1 xsi:type="ns2:SOAPStruct"><varString xsi:type="xsd:string">ar…
36 …ng><detail><ns2:part2 xsi:type="ns1:BaseStruct"><floatMessage xsi:type="xsd:float">12.345</floatMe…
H A Dr4_groupH_complex_rpcenc_001w.phpt27type="ns2:SOAPStructFault"><soapStruct xsi:type="ns2:SOAPStruct"><varString xsi:type="xsd:string">…
29type="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-7.0/ext/xmlrpc/libxmlrpc/
H A Dxml_to_dandarpc.c72 const char* type = NULL; in xml_element_to_DANDARPC_REQUEST_worker() local
80 type = attr_iter->val; in xml_element_to_DANDARPC_REQUEST_worker()
90 if(!type || !strcmp(type, ATTR_STRING)) { in xml_element_to_DANDARPC_REQUEST_worker()
93 else if(!strcmp(type, ATTR_INT)) { in xml_element_to_DANDARPC_REQUEST_worker()
96 else if(!strcmp(type, ATTR_BOOLEAN)) { in xml_element_to_DANDARPC_REQUEST_worker()
99 else if(!strcmp(type, ATTR_DOUBLE)) { in xml_element_to_DANDARPC_REQUEST_worker()
105 else if(!strcmp(type, ATTR_BASE64)) { in xml_element_to_DANDARPC_REQUEST_worker()
115 if(!type || !strcmp(type, ATTR_MIXED)) { in xml_element_to_DANDARPC_REQUEST_worker()
118 else if(!strcmp(type, ATTR_ARRAY)) { in xml_element_to_DANDARPC_REQUEST_worker()
121 else if(!strcmp(type, ATTR_STRUCT)) { in xml_element_to_DANDARPC_REQUEST_worker()
[all …]
/PHP-7.0/ext/gd/libgd/
H A Dxbm.c37 char *type; in gdImageCreateFromXbm() local
57 if (!(type = strrchr(iname, '_'))) { in gdImageCreateFromXbm()
58 type = iname; in gdImageCreateFromXbm()
60 type++; in gdImageCreateFromXbm()
63 if (!strcmp("width", type)) { in gdImageCreateFromXbm()
66 if (!strcmp("height", type)) { in gdImageCreateFromXbm()
84 if (!(type = strrchr(iname, '_'))) { in gdImageCreateFromXbm()
85 type = iname; in gdImageCreateFromXbm()
87 type++; in gdImageCreateFromXbm()
89 if (!strcmp("bits[]", type)) { in gdImageCreateFromXbm()
/PHP-7.0/ext/standard/tests/streams/
H A Dbug53427.phpt18 resource(%d) of type (stream)
20 resource(%d) of type (stream)
24 resource(%d) of type (stream)
26 resource(%d) of type (stream)
/PHP-7.0/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-7.0/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-7.0/ext/ldap/tests/
H A Dldap_connect_variation.phpt34 resource(%d) of type (ldap link)
35 resource(%d) of type (ldap link)
36 resource(%d) of type (ldap link)
37 resource(%d) of type (ldap link)
38 resource(%d) of type (ldap link)
/PHP-7.0/ext/oci8/tests/
H A Dconnect_with_charset_001.phpt25 resource(%d) of type (oci8 connection)
26 resource(%d) of type (oci8 connection)
29 resource(%d) of type (oci8 connection)
32 resource(%d) of type (oci8 connection)
34 resource(%d) of type (oci8 connection)
35 resource(%d) of type (oci8 connection)

Completed in 48 milliseconds

12345678910>>...81