/PHP-8.0/Zend/tests/type_declarations/union_types/ |
H A D | type_checking_weak.phpt | 2 Behavior of union type checks (weak) 16 function test(string $type, array $values) { 19 echo "\nType $type:\n"; 20 $fn = eval("return function($type \$arg) { return \$arg; };"); 69 "42x" => Argument ... must be of type int|float, string given 70 "x" => Argument ... must be of type int|float, string given 71 "" => Argument ... must be of type int|float, string given 74 null => Argument ... must be of type int|float, null given 75 [] => Argument ... must be of type int|float, array given 122 null => Argument ... must be of type int|bool, null given [all …]
|
/PHP-8.0/Zend/tests/type_declarations/ |
H A D | scalar_strict.phpt | 2 Scalar type strict mode 41 foreach ($functions as $type => $function) { 42 echo PHP_EOL, "Testing '$type' type:", PHP_EOL; 57 Testing 'int' type: 107 *** Trying resource(5) of type (stream) 110 Testing 'float' type: 160 *** Trying resource(5) of type (stream) 163 Testing 'string' type: 213 *** Trying resource(5) of type (stream) 216 Testing 'bool' type: [all …]
|
H A D | scalar_strict_64bit.phpt | 2 Scalar type strict mode 41 foreach ($functions as $type => $function) { 42 echo PHP_EOL, "Testing '$type' type:", PHP_EOL; 57 Testing 'int' type: 107 *** Trying resource(5) of type (stream) 110 Testing 'float' type: 160 *** Trying resource(5) of type (stream) 163 Testing 'string' type: 213 *** Trying resource(5) of type (stream) 216 Testing 'bool' type: [all …]
|
H A D | scalar_strict_basic.phpt | 2 Strict scalar type basics 27 function type($value) { 39 foreach ($functions as $type => $function) { 40 echo PHP_EOL, "Testing '$type' type:", PHP_EOL; 43 echo PHP_EOL . "*** Trying ", type($value), " value", PHP_EOL; 54 Testing 'int' type: 66 *** Caught {closure}(): Argument #1 ($i) must be of type int, bool given, called in %s on line %d 69 *** Caught {closure}(): Argument #1 ($i) must be of type int, bool given, called in %s on line %d 83 Testing 'float' type: 112 Testing 'string' type: [all …]
|
/PHP-8.0/ext/standard/tests/array/ |
H A D | array_merge_recursive_variation1.phpt | 116 -- With default argument --array_merge_recursive(): Argument #1 must be of type array, int given 117 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, int given 120 -- With default argument --array_merge_recursive(): Argument #1 must be of type array, int given 121 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, int given 124 -- With default argument --array_merge_recursive(): Argument #1 must be of type array, int given 125 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, int given 128 -- With default argument --array_merge_recursive(): Argument #1 must be of type array, int given 129 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, int given 153 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, null given 157 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, null given [all …]
|
H A D | array_diff_assoc_variation2.phpt | 103 array_diff_assoc(): Argument #2 must be of type array, int given 106 array_diff_assoc(): Argument #2 must be of type array, int given 109 array_diff_assoc(): Argument #2 must be of type array, int given 112 array_diff_assoc(): Argument #2 must be of type array, int given 115 array_diff_assoc(): Argument #2 must be of type array, float given 130 array_diff_assoc(): Argument #2 must be of type array, null given 133 array_diff_assoc(): Argument #2 must be of type array, null given 136 array_diff_assoc(): Argument #2 must be of type array, bool given 139 array_diff_assoc(): Argument #2 must be of type array, bool given 142 array_diff_assoc(): Argument #2 must be of type array, bool given [all …]
|
H A D | array_diff_variation2.phpt | 102 -- Iteration 1 --array_diff(): Argument #2 must be of type array, int given 104 -- Iteration 2 --array_diff(): Argument #2 must be of type array, int given 106 -- Iteration 3 --array_diff(): Argument #2 must be of type array, int given 108 -- Iteration 4 --array_diff(): Argument #2 must be of type array, int given 110 -- Iteration 5 --array_diff(): Argument #2 must be of type array, float given 112 -- Iteration 6 --array_diff(): Argument #2 must be of type array, float given 114 -- Iteration 7 --array_diff(): Argument #2 must be of type array, float given 116 -- Iteration 8 --array_diff(): Argument #2 must be of type array, float given 118 -- Iteration 9 --array_diff(): Argument #2 must be of type array, float given 120 -- Iteration 10 --array_diff(): Argument #2 must be of type array, null given [all …]
|
H A D | array_diff_assoc_variation1.phpt | 103 array_diff_assoc(): Argument #1 ($array) must be of type array, int given 106 array_diff_assoc(): Argument #1 ($array) must be of type array, int given 109 array_diff_assoc(): Argument #1 ($array) must be of type array, int given 112 array_diff_assoc(): Argument #1 ($array) must be of type array, int given 115 array_diff_assoc(): Argument #1 ($array) must be of type array, float given 130 array_diff_assoc(): Argument #1 ($array) must be of type array, null given 133 array_diff_assoc(): Argument #1 ($array) must be of type array, null given 136 array_diff_assoc(): Argument #1 ($array) must be of type array, bool given 139 array_diff_assoc(): Argument #1 ($array) must be of type array, bool given 142 array_diff_assoc(): Argument #1 ($array) must be of type array, bool given [all …]
|
H A D | array_diff_variation1.phpt | 103 -- Iteration 1 --array_diff(): Argument #1 ($array) must be of type array, int given 105 -- Iteration 2 --array_diff(): Argument #1 ($array) must be of type array, int given 107 -- Iteration 3 --array_diff(): Argument #1 ($array) must be of type array, int given 109 -- Iteration 4 --array_diff(): Argument #1 ($array) must be of type array, int given 111 -- Iteration 5 --array_diff(): Argument #1 ($array) must be of type array, float given 113 -- Iteration 6 --array_diff(): Argument #1 ($array) must be of type array, float given 115 -- Iteration 7 --array_diff(): Argument #1 ($array) must be of type array, float given 117 -- Iteration 8 --array_diff(): Argument #1 ($array) must be of type array, float given 119 -- Iteration 9 --array_diff(): Argument #1 ($array) must be of type array, float given 121 -- Iteration 10 --array_diff(): Argument #1 ($array) must be of type array, null given [all …]
|
H A D | array_merge_recursive_variation2.phpt | 103 -- Iteration 1 --array_merge_recursive(): Argument #2 must be of type array, int given 105 -- Iteration 2 --array_merge_recursive(): Argument #2 must be of type array, int given 107 -- Iteration 3 --array_merge_recursive(): Argument #2 must be of type array, int given 109 -- Iteration 4 --array_merge_recursive(): Argument #2 must be of type array, int given 111 -- Iteration 5 --array_merge_recursive(): Argument #2 must be of type array, float given 113 -- Iteration 6 --array_merge_recursive(): Argument #2 must be of type array, float given 115 -- Iteration 7 --array_merge_recursive(): Argument #2 must be of type array, float given 117 -- Iteration 8 --array_merge_recursive(): Argument #2 must be of type array, float given 119 -- Iteration 9 --array_merge_recursive(): Argument #2 must be of type array, float given 121 -- Iteration 10 --array_merge_recursive(): Argument #2 must be of type array, null given [all …]
|
H A D | array_merge_variation2.phpt | 103 array_merge(): Argument #2 must be of type array, int given 106 array_merge(): Argument #2 must be of type array, int given 109 array_merge(): Argument #2 must be of type array, int given 112 array_merge(): Argument #2 must be of type array, int given 115 array_merge(): Argument #2 must be of type array, float given 130 array_merge(): Argument #2 must be of type array, null given 133 array_merge(): Argument #2 must be of type array, null given 136 array_merge(): Argument #2 must be of type array, bool given 139 array_merge(): Argument #2 must be of type array, bool given 142 array_merge(): Argument #2 must be of type array, bool given [all …]
|
H A D | array_udiff_assoc_variation2.phpt | 101 array_udiff_assoc(): Argument #2 must be of type array, int given 104 array_udiff_assoc(): Argument #2 must be of type array, int given 107 array_udiff_assoc(): Argument #2 must be of type array, int given 110 array_udiff_assoc(): Argument #2 must be of type array, int given 113 array_udiff_assoc(): Argument #2 must be of type array, float given 128 array_udiff_assoc(): Argument #2 must be of type array, null given 131 array_udiff_assoc(): Argument #2 must be of type array, null given 134 array_udiff_assoc(): Argument #2 must be of type array, bool given 137 array_udiff_assoc(): Argument #2 must be of type array, bool given 140 array_udiff_assoc(): Argument #2 must be of type array, bool given [all …]
|
H A D | array_udiff_uassoc_variation2.phpt | 102 array_udiff_uassoc(): Argument #2 must be of type array, int given 105 array_udiff_uassoc(): Argument #2 must be of type array, int given 108 array_udiff_uassoc(): Argument #2 must be of type array, int given 111 array_udiff_uassoc(): Argument #2 must be of type array, int given 114 array_udiff_uassoc(): Argument #2 must be of type array, float given 129 array_udiff_uassoc(): Argument #2 must be of type array, null given 132 array_udiff_uassoc(): Argument #2 must be of type array, null given 135 array_udiff_uassoc(): Argument #2 must be of type array, bool given 138 array_udiff_uassoc(): Argument #2 must be of type array, bool given 141 array_udiff_uassoc(): Argument #2 must be of type array, bool given [all …]
|
H A D | array_udiff_variation2.phpt | 101 array_udiff(): Argument #2 must be of type array, int given 104 array_udiff(): Argument #2 must be of type array, int given 107 array_udiff(): Argument #2 must be of type array, int given 110 array_udiff(): Argument #2 must be of type array, int given 113 array_udiff(): Argument #2 must be of type array, float given 128 array_udiff(): Argument #2 must be of type array, null given 131 array_udiff(): Argument #2 must be of type array, null given 134 array_udiff(): Argument #2 must be of type array, bool given 137 array_udiff(): Argument #2 must be of type array, bool given 140 array_udiff(): Argument #2 must be of type array, bool given [all …]
|
H A D | array_uintersect_assoc_variation2.phpt | 101 array_uintersect_assoc(): Argument #2 must be of type array, int given 104 array_uintersect_assoc(): Argument #2 must be of type array, int given 107 array_uintersect_assoc(): Argument #2 must be of type array, int given 110 array_uintersect_assoc(): Argument #2 must be of type array, int given 113 array_uintersect_assoc(): Argument #2 must be of type array, float given 128 array_uintersect_assoc(): Argument #2 must be of type array, null given 131 array_uintersect_assoc(): Argument #2 must be of type array, null given 134 array_uintersect_assoc(): Argument #2 must be of type array, bool given 137 array_uintersect_assoc(): Argument #2 must be of type array, bool given 140 array_uintersect_assoc(): Argument #2 must be of type array, bool given [all …]
|
H A D | array_uintersect_uassoc_variation2.phpt | 102 array_uintersect_uassoc(): Argument #2 must be of type array, int given 105 array_uintersect_uassoc(): Argument #2 must be of type array, int given 108 array_uintersect_uassoc(): Argument #2 must be of type array, int given 111 array_uintersect_uassoc(): Argument #2 must be of type array, int given 114 array_uintersect_uassoc(): Argument #2 must be of type array, float given 129 array_uintersect_uassoc(): Argument #2 must be of type array, null given 132 array_uintersect_uassoc(): Argument #2 must be of type array, null given 135 array_uintersect_uassoc(): Argument #2 must be of type array, bool given 138 array_uintersect_uassoc(): Argument #2 must be of type array, bool given 141 array_uintersect_uassoc(): Argument #2 must be of type array, bool given [all …]
|
H A D | array_uintersect_variation2.phpt | 101 array_uintersect(): Argument #2 must be of type array, int given 104 array_uintersect(): Argument #2 must be of type array, int given 107 array_uintersect(): Argument #2 must be of type array, int given 110 array_uintersect(): Argument #2 must be of type array, int given 113 array_uintersect(): Argument #2 must be of type array, float given 128 array_uintersect(): Argument #2 must be of type array, null given 131 array_uintersect(): Argument #2 must be of type array, null given 134 array_uintersect(): Argument #2 must be of type array, bool given 137 array_uintersect(): Argument #2 must be of type array, bool given 140 array_uintersect(): Argument #2 must be of type array, bool given [all …]
|
/PHP-8.0/ext/soap/tests/ |
H A D | server030.phpt | 52 …type="ns1:ItemArray"><item xsi:type="ns1:Item"><text xsi:type="xsd:string">text0</text></item><ite…
|
H A D | server031.phpt | 68 …type="ns1:ItemArray"><item xsi:type="ns1:Item"><text xsi:type="xsd:string">text0</text></item><ite…
|
/PHP-8.0/ext/soap/tests/schema/ |
H A D | schema064.phpt | 15 <element name="dateTime" type="dateTime"/> 16 <element name="time" type="time"/> 17 <element name="date" type="date"/> 18 <element name="gYearMonth" type="gYearMonth"/> 19 <element name="gYear" type="gYear"/> 20 <element name="gMonthDay" type="gMonthDay"/> 21 <element name="gDay" type="gDay"/> 22 <element name="gMonth" type="gMonth"/> 28 test_schema($schema,'type="tns:testType"',array( 42 …type="ns1:testType"><dateTime xsi:type="xsd:dateTime">1976-04-05T01:02:03Z</dateTime><time xsi:typ…
|
/PHP-8.0/ext/fileinfo/libmagic/ |
H A D | apptype.c | 48 APPTYPE rc, type; in file_os2_apptype() local 80 rc = DosQueryAppType((unsigned char *)path, &type); in file_os2_apptype() 108 if (type & FAPPTYP_32BIT) in file_os2_apptype() 111 if (type & FAPPTYP_PHYSDRV) { in file_os2_apptype() 114 } else if (type & FAPPTYP_VIRTDRV) { in file_os2_apptype() 117 } else if (type & FAPPTYP_DLL) { in file_os2_apptype() 118 if (type & FAPPTYP_PROTDLL) in file_os2_apptype() 126 } else if (type & FAPPTYP_DOS) { in file_os2_apptype() 142 } else if (type & FAPPTYP_BOUND) { in file_os2_apptype() 145 } else if ((type & 7) == FAPPTYP_WINDOWAPI) { in file_os2_apptype() [all …]
|
/PHP-8.0/ext/simplexml/tests/ |
H A D | bug72588.phpt | 16 <object type="obj_1" label="Label for object 1"></object> 17 <object type="obj_2" label="Label for object 2"></object> 18 <object type="obj_3" label="Label for object 3"></object> 19 <object type="obj_4" label="Label for object 4"></object> 20 <object type="obj_5" label="Label for object 5"></object> 21 <object type="obj_6" label="Label for object 6"></object> 22 <object type="obj_7" label="Label for object 7"></object> 23 <object type="obj_8" label="Label for object 8"></object> 24 <object type="obj_9" label="Label for object 9"></object> 25 <object type="obj_10" label="Label for object 10"></object> [all …]
|
/PHP-8.0/ext/soap/tests/interop/Round4/GroupH/ |
H A D | r4_groupH_complex_rpcenc_009w.phpt | 42 …type="xsd:int">3</whichFault><param1 xsi:type="ns2:BaseStruct"><floatMessage xsi:type="xsd:float">… 44 …type="ns1:MoreExtendedStruct"><floatMessage xsi:type="xsd:float">12.345</floatMessage><shortMessag…
|
/PHP-8.0/ext/pcre/tests/ |
H A D | preg_match_error4.phpt | 23 "type": "path", 30 "type": "composer", 34 "type": "package", 37 "type": "metapackage", 49 "type": "metapackage", 60 "type": "metapackage", 71 "type": "metapackage", 82 "type": "metapackage", 93 "type": "metapackage", 104 "type": "metapackage", [all …]
|
/PHP-8.0/ext/xmlreader/tests/ |
H A D | bug73053.xsd | 5 <xsd:element name="books" type="bks:BooksForm"/> 10 type="bks:BookForm" 18 <xsd:element name="author" type="xsd:string"/> 19 <xsd:element name="title" type="xsd:string"/> 20 <xsd:element name="genre" type="xsd:string"/> 21 <xsd:element name="price" type="xsd:float" /> 22 <xsd:element name="pub_date" type="xsd:date" /> 23 <xsd:element name="review" type="xsd:string"/> 25 <xsd:attribute name="id" type="xsd:positiveInteger"/>
|