/PHP-8.2/ext/ffi/tests/ |
H A D | gh7867.phpt | 2 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 D | bug78762.phpt | 2 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 D | gh14626.phpt | 22 $addr = $ffi->cast("uintptr_t", $ffi->cast("char*", $ptr))->cdata; 24 $ptr = FFI::cdef()->cast("char*", $addr);
|
H A D | 011.phpt | 2 FFI 011: cast() 12 var_dump(FFI::cast("uint16_t[2]", $a));
|
H A D | bug78761.phpt | 18 FFI::cast('char[10]', FFI::new('char[1]')); 24 attempt to cast to larger type
|
/PHP-8.2/ext/opcache/jit/libudis86/ |
H A D | syn-intel.c | 168 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 D | bug39018.phpt | 65 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 D | unset_cast_removed.phpt | 2 The (unset) cast is removed 12 Fatal error: The (unset) cast is no longer supported in %s on line %d
|
H A D | real_cast.phpt | 2 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 D | offset_string.phpt | 53 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 D | double_array_cast.phpt | 2 Double array cast
|
/PHP-8.2/ext/opcache/tests/jit/ |
H A D | fetch_dim_r_004.phpt | 42 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 D | fetch_dim_r_003.phpt | 46 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 D | gh8591-003.phpt | 27 $this->cast(); 31 private function cast()
|
H A D | gh8591-001.phpt | 28 $this->cast(); 32 private function cast()
|
H A D | gh8591-002.phpt | 34 $this->cast(); 38 private function cast()
|
H A D | gh8591-004.phpt | 30 $this->cast(); 34 private function cast()
|
H A D | gh8591-005.inc | 7 final protected function cast()
|
H A D | gh8591-006.inc | 7 final protected function cast()
|
/PHP-8.2/ext/spl/tests/ |
H A D | bug71028.phpt | 5 function cast(&$a) { 13 cast($b);
|
H A D | bug65213.phpt | 2 Bug #65213 (cannot cast SplFileInfo to boolean)
|
/PHP-8.2/ext/pdo_dblib/tests/ |
H A D | bug_54648.phpt | 13 $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 D | cast.c | 223 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 D | warning_float_does_not_fit_zend_long_strings.phpt | 83 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 D | warning_float_does_not_fit_zend_long_strings_32bit.phpt | 83 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
|