/PHP-8.4/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::cdef()->cast('char[4]', $value)); 19 echo 'cast with offset' . PHP_EOL; 21 var_dump($value + 4, $slice, FFI::cdef()->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::cdef()->cast('char[10]', FFI::cdef()->new('char[1]')); 14 attempt to cast to larger type
|
H A D | deprecations.phpt | 2 Test calling the deprecated signature of FFI::new(), FFI::type(), FFI::cast() 36 $p = FFI::cast("uint8_t[2]", $p1); 41 FFI::cast("uint8_t[2]", $p1); 60 Deprecated: Calling FFI::cast() statically is deprecated in %s on line %d 61 Calling FFI::cast() statically is deprecated
|
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() 14 var_dump($ffi->cast("uint16_t[2]", $a));
|
H A D | bug78761.phpt | 17 FFI::cdef()->cast('char[10]', FFI::cdef()->new('char[1]')); 23 attempt to cast to larger type
|
/PHP-8.4/scripts/gdb/ |
H A D | php_gdb.py | 60 str = self.val['val'].cast(ptr_type).dereference().cast(ary_type) 133 return self.val.cast(gdb.lookup_type('enum _zend_ast_kind')) 145 return '((%s*)0x%x)' % (str(self.cast().type), self.val.address) 148 val = self.cast() 155 children = children.cast(ptr_type) 182 def cast(self): member in ZendAstPrettyPrinter 186 return self.val.cast(gdb.lookup_type('zend_ast_zval')) 188 return self.val.cast(gdb.lookup_type('zend_ast_znode')) 190 return self.val.cast(gdb.lookup_type('zend_ast_decl')) 192 return self.val.cast(gdb.lookup_type('zend_ast_list')) [all …]
|
/PHP-8.4/Zend/tests/offsets/ |
H A D | string_container_offset_behaviour.phpt | 99 Warning: String offset cast occurred in %s on line %d 105 Warning: String offset cast occurred in %s on line %d 108 Warning: String offset cast occurred in %s on line %d 112 Warning: String offset cast occurred in %s on line %d 122 Warning: String offset cast occurred in %s on line %d 128 Warning: String offset cast occurred in %s on line %d 130 Warning: String offset cast occurred in %s on line %d 136 Warning: String offset cast occurred in %s on line %d 140 Warning: String offset cast occurred in %s on line %d 150 Warning: String offset cast occurred in %s on line %d [all …]
|
/PHP-8.4/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 | 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 | 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 | 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
|
/PHP-8.4/ext/opcache/tests/jit/ |
H A D | fetch_dim_r_004.phpt | 41 Warning: String offset cast occurred in %s on line %d 46 Warning: String offset cast occurred in %s on line %d 49 Warning: String offset cast occurred in %s on line %d 52 Warning: String offset cast occurred in %s on line %d
|
H A D | fetch_dim_r_003.phpt | 45 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 56 Warning: String offset cast occurred in %s on line %d
|
H A D | gh8591-003.phpt | 26 $this->cast(); 30 private function cast()
|
H A D | gh8591-002.phpt | 33 $this->cast(); 37 private function cast()
|
H A D | gh8591-001.phpt | 27 $this->cast(); 31 private function cast()
|
H A D | gh8591-004.phpt | 29 $this->cast(); 33 private function cast()
|
/PHP-8.4/ext/pdo_pgsql/tests/ |
H A D | float.phpt | 21 select cast(0.4 as float4) as value4, 22 cast(0.8 as float8) as value8, 23 cast('NaN' as float4) as valuenan, 24 cast('Infinity' as float4) as valueinfinity, 25 cast('-Infinity' as float4) as valueninfinity
|
/PHP-8.4/ext/spl/tests/ |
H A D | bug71028.phpt | 5 function cast(&$a) { 13 cast($b);
|
/PHP-8.4/ext/pdo_dblib/tests/ |
H A D | bug_54648.phpt | 15 $rs = $db->query("select cast('1950-01-18 23:00:00' as smalldatetime) as sdt, cast('2030-01-01 23:5…
|
/PHP-8.4/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.4/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
|
/PHP-8.4/ext/standard/tests/array/range/ |
H A D | range_inputs_string_invalid.phpt | 12 var_dump( range("Z", "") ); // Both strings are cast to int, i.e. 0 13 var_dump( range("", "Z") ); // Both strings are cast to int, i.e. 0 16 var_dump( range("3.5", "A") ); // The char is cast to a float, i.e. 0 17 var_dump( range("?", "3.5") ); // The char is cast to a float, i.e. 0
|