/php-src/Zend/tests/offsets/ |
H A D | array_container_offset_behaviour.phpt | 137 Cannot access offset of type %s on array 139 Cannot access offset of type %s on array 141 Cannot access offset of type %s on array 143 Cannot access offset of type %s on array 149 Cannot access offset of type %s on array 151 Cannot access offset of type %s on array 153 Cannot unset offset of type %s on array 155 Cannot access offset of type %s on array 157 Cannot access offset of type %s on array 285 foreach ($offsets as $offset) { [all …]
|
H A D | false_container_offset_behaviour.phpt | 146 Cannot access offset of type %s on array 148 Cannot access offset of type %s on array 150 Cannot access offset of type %s on array 156 Cannot access offset of type %s on array 158 Cannot access offset of type %s on array 160 Cannot unset offset of type %s on array 162 Cannot access offset of type %s on array 164 Cannot access offset of type %s on array 166 Cannot access offset of type %s on array 292 foreach ($offsets as $offset) { [all …]
|
H A D | invalid_container_offset_behaviour.phpt | 23 Warning: Trying to access array offset on $containerStr in %s on line 8 29 Warning: Trying to access array offset on $containerStr in %s on line 22 42 Cannot unset offset in a non-array variable 45 Warning: Trying to access array offset on $containerStr in %s on line 74 47 Warning: Trying to access array offset on null in %s on line 74 60 Cannot unset offset in a non-array variable 84 foreach ($offsets as $offset) { 85 $dimension = &$offset;
|
H A D | ArrayAccess_container_offset_behaviour.phpt | 61 Warning: Trying to access array offset on int in %s on line 74 98 Cannot unset offset in a non-array variable 134 foreach ($offsets as $offset) { 135 $dimension = &$offset;
|
H A D | object_container_offset_behaviour.phpt | 66 foreach ($offsets as $offset) { 67 $dimension = &$offset; 69 … $error = '(new stdClass())[&' . zend_test_var_export($offset) . '] has different outputs' . "\n";
|
H A D | string_container_offset_behaviour.phpt | 33 Cannot use string offset as an array 35 Cannot use string offset as an array 43 Cannot use string offset as an array 80 Cannot use string offset as an array 82 Cannot use string offset as an array 90 Cannot use string offset as an array 137 Cannot use string offset as an array 141 Cannot use string offset as an array 151 Cannot use string offset as an array 665 foreach ($offsets as $offset) { [all …]
|
H A D | internal_handlers.phpt | 224 … false, unset: false, readType: BP_VAR_R, hasOffset: true, checkEmpty: uninitialized, offset: 'foo' 228 … false, unset: false, readType: BP_VAR_R, hasOffset: true, checkEmpty: uninitialized, offset: 'foo' 230 …se, has: true, unset: false, readType: uninitialized, hasOffset: true, checkEmpty: 0, offset: 'foo' 232 …se, has: true, unset: false, readType: uninitialized, hasOffset: true, checkEmpty: 1, offset: 'foo' 234 …false, unset: false, readType: BP_VAR_IS, hasOffset: true, checkEmpty: uninitialized, offset: 'foo' 241 Warning: Trying to access array offset on true in %s on line %d 242 … false, unset: false, readType: BP_VAR_R, hasOffset: true, checkEmpty: uninitialized, offset: 'foo' 247 … false, unset: false, readType: BP_VAR_W, hasOffset: true, checkEmpty: uninitialized, offset: 'foo' 273 … false, unset: false, readType: BP_VAR_W, hasOffset: true, checkEmpty: uninitialized, offset: 'foo' 282 Error: Cannot unset offset in a non-array variable [all …]
|
H A D | reference_containers_appended.phpt | 76 ArgumentCountError: B::offsetGet(): Argument #1 ($offset) not passed
|
/php-src/ext/sockets/ |
H A D | conversions.c | 131 static inline void *accounted_safe_ecalloc(size_t nmemb, size_t alloc_size, size_t offset, ser_cont… in accounted_safe_ecalloc() argument 133 void *ret = safe_emalloc(nmemb, alloc_size, offset); in accounted_safe_ecalloc() 134 memset(ret, '\0', nmemb * alloc_size + offset); in accounted_safe_ecalloc() 852 size_t *offset, in from_zval_write_control() argument 907 space_left = *control_len - *offset; in from_zval_write_control() 908 assert(*control_len >= *offset); in from_zval_write_control() 913 memset((char *)*control_buf + *offset, '\0', *control_len - *offset); in from_zval_write_control() 917 cmsghdr = (struct cmsghdr*)(((char*)*control_buf) + *offset); in from_zval_write_control() 925 *offset += req_space; in from_zval_write_control()
|
/php-src/ext/zlib/ |
H A D | zlib_arginfo.h | 89 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
|
/php-src/ext/shmop/ |
H A D | shmop_arginfo.h | 13 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0) 28 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
|
/php-src/ext/spl/ |
H A D | spl_array_arginfo.h | 146 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
|
H A D | spl_directory_arginfo.h | 113 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0) 216 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
|
H A D | spl_iterators_arginfo.h | 132 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0) 137 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0") 148 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
|
/php-src/ext/pcre/ |
H A D | php_pcre_arginfo.h | 9 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
|
/php-src/ext/pgsql/ |
H A D | pgsql_arginfo.h | 275 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
|
/php-src/ext/intl/timezone/ |
H A D | timezone_arginfo.h | 48 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
|
/php-src/ext/opcache/ |
H A D | zend_file_cache.c | 77 OVERLAPPED offset = {0,0,0,0,NULL}; in zend_file_cache_flock() local 80 LOCKFILE_EXCLUSIVE_LOCK, 0, 1, 0, &offset) == TRUE) { in zend_file_cache_flock() 85 0, 0, 1, 0, &offset) == TRUE) { in zend_file_cache_flock() 90 0, 1, 0, &offset) == TRUE) { in zend_file_cache_flock()
|
/php-src/ext/ftp/ |
H A D | ftp_arginfo.h | 86 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0") 94 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0") 107 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0") 115 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0") 127 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0") 135 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0") 143 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0") 158 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
|
/php-src/ext/gd/ |
H A D | gd_arginfo.h | 520 ZEND_ARG_TYPE_INFO(0, offset, IS_DOUBLE, 0)
|
/php-src/ext/intl/formatter/ |
H A D | formatter_arginfo.h | 24 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, offset, "null") 35 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, offset, "null")
|
/php-src/ext/com_dotnet/ |
H A D | com_handlers.c | 80 static zval *com_read_dimension(zend_object *object, zval *offset, int type, zval *rv) in com_read_dimension() argument 93 DISPATCH_METHOD|DISPATCH_PROPERTYGET, &v, 1, offset, 0, 0)) { in com_read_dimension() 98 convert_to_long(offset); in com_read_dimension() 101 if (php_com_safearray_get_elem(&obj->v, &v, (LONG)Z_LVAL_P(offset))) { in com_read_dimension() 106 php_com_saproxy_create(object, rv, offset); in com_read_dimension() 116 static void com_write_dimension(zend_object *object, zval *offset, zval *value) in com_write_dimension() argument 125 if (offset == NULL) { in com_write_dimension() 131 ZVAL_COPY_VALUE(&args[0], offset); in com_write_dimension() 149 convert_to_long(offset); in com_write_dimension() 150 indices = (LONG)Z_LVAL_P(offset); in com_write_dimension() [all …]
|
/php-src/Zend/ |
H A D | zend_compile.h | 400 uint32_t offset; /* property offset for object properties or member 410 #define OBJ_PROP(obj, offset) \ argument 411 ((zval*)((char*)(obj) + offset)) 416 #define OBJ_PROP_TO_NUM(offset) \ argument 417 ((offset - OBJ_PROP_TO_OFFSET(0)) / sizeof(zval)) 683 #define ZEND_OFFSET_TO_OPLINE(base, offset) \ argument 684 ((zend_op*)(((char*)(base)) + (int)offset)) 686 #define ZEND_OFFSET_TO_OPLINE_NUM(op_array, base, offset) \ argument 687 (ZEND_OFFSET_TO_OPLINE(base, offset) - op_array->opcodes)
|
H A D | zend_interfaces_arginfo.h | 21 ZEND_ARG_TYPE_INFO(0, offset, IS_MIXED, 0) 25 ZEND_ARG_TYPE_INFO(0, offset, IS_MIXED, 0) 29 ZEND_ARG_TYPE_INFO(0, offset, IS_MIXED, 0) 34 ZEND_ARG_TYPE_INFO(0, offset, IS_MIXED, 0)
|
H A D | zend_opcode.c | 188 if (prop_info->ce == ce && p - static_members == prop_info->offset) { in zend_cleanup_internal_class_data()
|