Home
last modified time | relevance | path

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

1234

/PHP-8.2/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 Dgh14626.phpt22 $addr = $ffi->cast("uintptr_t", $ffi->cast("char*", $ptr))->cdata;
24 $ptr = FFI::cdef()->cast("char*", $addr);
H A D011.phpt2 FFI 011: cast()
12 var_dump(FFI::cast("uint16_t[2]", $a));
H A Dbug78761.phpt18 FFI::cast('char[10]', FFI::new('char[1]'));
24 attempt to cast to larger type
/PHP-8.2/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.2/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
/PHP-8.2/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
H A Dgh8591-003.phpt27 $this->cast();
31 private function cast()
H A Dgh8591-001.phpt28 $this->cast();
32 private function cast()
H A Dgh8591-002.phpt34 $this->cast();
38 private function cast()
H A Dgh8591-004.phpt30 $this->cast();
34 private function cast()
H A Dgh8591-005.inc7 final protected function cast()
H A Dgh8591-006.inc7 final protected function cast()
/PHP-8.2/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.2/ext/pdo_dblib/tests/
H A Dbug_54648.phpt13 $rs = $db->query("select cast('1950-01-18 23:00:00' as smalldatetime) as sdt, cast('2030-01-01 23:5…
/PHP-8.2/main/streams/
H A Dcast.c223 stream->ops->cast && in _php_stream_cast()
225 stream->ops->cast(stream, castas, ret) == SUCCESS in _php_stream_cast()
266 …if (!php_stream_is_filtered(stream) && stream->ops->cast && stream->ops->cast(stream, castas, NULL… in _php_stream_cast()
267 if (FAILURE == stream->ops->cast(stream, castas, ret)) { in _php_stream_cast()
305 } else if (stream->ops->cast && stream->ops->cast(stream, castas, ret) == SUCCESS) { in _php_stream_cast()
/PHP-8.2/Zend/tests/float_to_int/
H A Dwarning_float_does_not_fit_zend_long_strings.phpt83 Warning: String offset cast occurred in %s on line %d
87 Warning: String offset cast occurred in %s on line %d
96 Warning: String offset cast occurred in %s on line %d
100 Warning: String offset cast occurred in %s on line %d
H A Dwarning_float_does_not_fit_zend_long_strings_32bit.phpt83 Warning: String offset cast occurred in %s on line %d
87 Warning: String offset cast occurred in %s on line %d
96 Warning: String offset cast occurred in %s on line %d
100 Warning: String offset cast occurred in %s on line %d

Completed in 24 milliseconds

1234