Home
last modified time | relevance | path

Searched refs:cast (Results 1 – 25 of 66) sorted by relevance

123

/PHP-8.0/ext/ffi/tests/
H A Dgh7867.phpt2 GH-7867 (FFI::cast() from pointer to array is broken)
14 echo 'cast from start' . PHP_EOL;
16 var_dump($value + 0, $slice, FFI::cast('char[4]', $value));
19 echo 'cast with offset' . PHP_EOL;
21 var_dump($value + 4, $slice, FFI::cast('char[4]', $value + 4));
25 cast from start
51 cast with offset
H A Dbug78762.phpt2 Bug #78762 (Failing FFI::cast() may leak memory)
8 FFI::cast('char[10]', FFI::new('char[1]'));
14 attempt to cast to larger type
H A D011.phpt2 FFI 011: cast()
12 var_dump(FFI::cast("uint16_t[2]", $a));
H A Dbug78761.phpt16 FFI::cast('char[10]', FFI::new('char[1]'));
22 attempt to cast to larger type
/PHP-8.0/ext/opcache/jit/libudis86/
H A Dsyn-intel.c168 int cast = 0; in ud_translate_intel() local
175 cast = 1; in ud_translate_intel()
186 cast = 1; in ud_translate_intel()
192 gen_operand(u, &u->operand[0], cast); in ud_translate_intel()
196 int cast = 0; in ud_translate_intel() local
201 cast = 1; in ud_translate_intel()
203 gen_operand(u, &u->operand[1], cast); in ud_translate_intel()
207 int cast = 0; in ud_translate_intel() local
211 cast = 1; in ud_translate_intel()
213 gen_operand(u, &u->operand[2], cast); in ud_translate_intel()
/PHP-8.0/Zend/tests/
H A Dbug39018.phpt65 Warning: String offset cast occurred in %s on line %d
73 Warning: String offset cast occurred in %s on line %d
77 Warning: String offset cast occurred in %s on line %d
93 Warning: String offset cast occurred in %s on line %d
97 Warning: String offset cast occurred in %s on line %d
101 Warning: String offset cast occurred in %s on line %d
103 Warning: String offset cast occurred in %s on line %d
H A Dunset_cast_removed.phpt2 The (unset) cast is removed
12 Fatal error: The (unset) cast is no longer supported in %s on line %d
H A Dreal_cast.phpt2 The (real) cast is no longer supported
10 Parse error: The (real) cast has been removed, use (float) instead in %s on line %d
H A Doffset_string.phpt53 Warning: String offset cast occurred in %s on line %d
56 Warning: String offset cast occurred in %s on line %d
65 Warning: String offset cast occurred in %s on line %d
68 Warning: String offset cast occurred in %s on line %d
H A Ddouble_array_cast.phpt2 Double array cast
H A Dget_resource_id.phpt8 // get_resource_id() is equivalent to an integer cast.
H A Dbug42772.phpt2 Bug #42772 (Storing $this in a static var fails while handling a cast to string)
H A Dstr_offset_007.phpt15 Err: String offset cast occurred
/PHP-8.0/ext/opcache/tests/jit/
H A Dfetch_dim_r_004.phpt42 Warning: String offset cast occurred in %s on line %d
47 Warning: String offset cast occurred in %s on line %d
50 Warning: String offset cast occurred in %s on line %d
53 Warning: String offset cast occurred in %s on line %d
H A Dfetch_dim_r_003.phpt46 Warning: String offset cast occurred in %s on line %d
51 Warning: String offset cast occurred in %s on line %d
54 Warning: String offset cast occurred in %s on line %d
57 Warning: String offset cast occurred in %s on line %d
/PHP-8.0/ext/spl/tests/
H A Dbug71028.phpt5 function cast(&$a) {
13 cast($b);
H A Dbug65213.phpt2 Bug #65213 (cannot cast SplFileInfo to boolean)
/PHP-8.0/ext/pdo_dblib/tests/
H A Dbug_54648.phpt12 $rs = $db->query("select cast('1950-01-18 23:00:00' as smalldatetime) as sdt, cast('2030-01-01 23:5…
/PHP-8.0/main/streams/
H A Dcast.c218 stream->ops->cast && in _php_stream_cast()
220 stream->ops->cast(stream, castas, ret) == SUCCESS in _php_stream_cast()
261 …if (!php_stream_is_filtered(stream) && stream->ops->cast && stream->ops->cast(stream, castas, NULL… in _php_stream_cast()
262 if (FAILURE == stream->ops->cast(stream, castas, ret)) { in _php_stream_cast()
300 } else if (stream->ops->cast && stream->ops->cast(stream, castas, ret) == SUCCESS) { in _php_stream_cast()
/PHP-8.0/ext/standard/tests/general_functions/
H A Dbug66094.phpt2 Bug #66094 (unregister_tick_function tries to cast a Closure to a string)
/PHP-8.0/Zend/tests/numeric_strings/
H A Dexplicit_cast_leading_numeric_must_work.phpt2 Explicit cast of leading numeric strings should still work without warning
/PHP-8.0/ext/pdo_firebird/tests/
H A Ddialect_1.phpt22 cast(0.76 as numeric(15, 2)) as K,
23 cast(\'2019-06-12\' as date) as DT
/PHP-8.0/ext/opcache/tests/
H A Dbug70111.phpt2 Bug #70111 (Segfault when a function uses both an explicit return type and an explicit cast)
/PHP-8.0/Zend/tests/type_declarations/
H A Dtyped_properties_072.phpt2 Typed property must cast when used with __get()
/PHP-8.0/ext/reflection/tests/
H A DReflectionParameter_ctor_cast.phpt2 Test method name string cast in ReflectionParameter ctor

Completed in 37 milliseconds

123