Home
last modified time | relevance | path

Searched refs:offset (Results 126 – 150 of 722) sorted by relevance

12345678910>>...29

/PHP-7.0/Zend/tests/
H A Dbug41813.phpt2 Bug #41813 (segmentation fault when using string offset as an object)
12 Fatal error: Uncaught Error: Cannot use string offset as an array in %s:%d
H A Dconst_dereference_002.phpt15 Warning: Illegal string offset 'foo' in %sconst_dereference_002.php on line %d
17 Warning: Illegal string offset 'bar' in %sconst_dereference_002.php on line %d
H A Doffset_assign.phpt11 Warning: Illegal string offset 'x' in %soffset_assign.php on line %d
13 Fatal error: Uncaught Error: Cannot use string offset as an array in %soffset_assign.php:%d
/PHP-7.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_types_zerofill.phpt13 function test_type(&$db, $offset, $sql_type, $value, $ret_value = NULL, $pattern = NULL) {
24 $stmt->bindValue(1, $offset);
28 printf("[%03d + 1] INSERT failed, %s\n", $offset, var_export($stmt->errorInfo(), true));
42 …printf("[%03d + 2] Fetched result seems wrong, dumping result: %s\n", $offset, var_export($row, tr…
46 if ($row['id'] != $offset) {
47 printf("[%03d + 3] Expecting %s got %s\n", $offset, $row['id']);
55 $offset, $pattern, var_export($row['label'], true));
69 printf("[%03d + 4] %s - input = %s/%s, output = %s/%s\n", $offset,
H A Dpdo_mysql_get_attribute.phpt25 function set_and_get($offset, $db, $attribute, $value) {
32 $offset, $attribute, var_export($tmp, true));
38 $offset, $value_type, gettype($value));
45 …$offset, $attribute, var_export($value, true), gettype($value), var_export($tmp, true), gettype($t…
51 $offset, $e->getMessage(),
/PHP-7.0/scripts/dev/
H A Dcheck_parameters.php72 function update_lineno($offset) argument
84 if ($val < $offset) {
85 if (++$mid > $count || $lines_offset[$mid] > $offset) {
91 } else if ($val > $offset) {
92 if ($lines_offset[--$mid] < $offset) {
192 function check_function($name, $txt, $offset) argument
210 update_lineno($offset + $m[2][1]);
/PHP-7.0/ext/fileinfo/tests/
H A Dbug61964.phpt53 Notice: finfo_open(): Warning: offset `string' invalid in %sbug61964.php on line %d
55 Notice: finfo_open(): Warning: offset ` Core' invalid in %sbug61964.php on line %d
59 Notice: finfo_open(): Warning: offset ` Me' invalid in %sbug61964.php on line %d
63 Notice: finfo_open(): Warning: offset `a' invalid in %sbug61964.php on line %d
67 Notice: finfo_open(): Warning: offset `b' invalid in %sbug61964.php on line %d
/PHP-7.0/ext/mysqli/tests/
H A Dmysqli_stmt_bind_result_zerofill.phpt14 function zerofill($offset, $link, $datatype, $insert = 1) {
25 $offset, mysqli_errno($link), mysqli_error($link));
31 $offset, mysqli_errno($link), mysqli_error($link));
59 printf("[%03d] Expecting '%s' got '%s'\n", $offset, $expected, $result);
64 printf("[%03d] Length reported is too small to run test\n", $offset);
H A Dmysqli_next_result.phpt65 function func_test_mysqli_next_result($link, $query, $offset, $num_results, $strict_on) {
68 printf("[%03d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
85 printf("[%03d] Strict Standards warning missing\n", $offset + 1);
93 printf("[%03d] Expecting %d result(s), got %d result(s)\n", $offset + 2, $num_results, $i);
97 printf("[%03d] mysqli_more_results() indicates more results than expected\n", $offset + 3);
100 printf("[%03d] [%d] %s\n", $offset + 4, mysqli_errno($link), mysqli_error($link));
H A Dmysqli_stmt_bind_result_format.phpt19 $offset,
28 $offset + 1,
41 $offset + 2,
54 $offset,
66 $offset + 1,
73 $offset + 2,
80 $offset + 3,
90 $offset + 4,
97 $offset + 5,
104 $offset + 6,
[all …]
/PHP-7.0/ext/spl/tests/
H A Diterator_to_array_nonscalar_keys.phpt19 Warning: Illegal offset type in %s on line %d
21 Warning: Illegal offset type in %s on line %d
H A Dbug51119.phpt2 SPL: LimitIterator zero is valid offset
33 Parameter offset must be >= 0
/PHP-7.0/ext/standard/tests/file/
H A Dbug39673.phpt23 foreach ($offsets as $offset) {
24 $r = file_get_contents($filename, false, null, $offset);
/PHP-7.0/ext/intl/breakiterator/
H A Dcodepointiterator_internal.h65 virtual int32_t following(int32_t offset);
67 virtual int32_t preceding(int32_t offset);
69 virtual UBool isBoundary(int32_t offset);
/PHP-7.0/ext/standard/tests/strings/
H A Dbug70436.phpt49 Notice: unserialize(): Error at offset 0 of 3 bytes in %sbug70436.php on line %d
51 Notice: unserialize(): Error at offset 16 of 17 bytes in %sbug70436.php on line %d
53 Notice: unserialize(): Error at offset 93 of 94 bytes in %sbug70436.php on line %d
H A Dstripos_variation8.phpt5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
31 for($offset = 0; $offset <= strlen($haystack); $offset++ ) {
32 var_dump( stripos($haystack, $needles[$index], $offset) );
H A Dsubstr_count_error.phpt13 /* offset as negative value */
16 /* offset > size of the string */
19 /* Using offset and length to go beyond the size of the string:
20 Warning message expected, as length+offset > length of string */
/PHP-7.0/ext/mbstring/libmbfl/tests/
H A Dstrcut.c31 int offset, length; in main() local
53 offset = strtol(argv[3], NULL, 10); in main()
103 if (mbfl_strcut(&string, &result, offset, length)) { in main()
/PHP-7.0/ext/iconv/tests/
H A Diconv_strpos_variation5.phpt2 Test iconv_strpos() function : usage variations - Pass different integers as $offset argument
12 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]])
18 * Test how iconv_strpos() behaves when passed different integers as $offset argument
34 * Loop through integers as multiples of ten for $offset argument
35 * iconv_strpos should not be able to accept negative values as $offset.
/PHP-7.0/ext/com_dotnet/
H A Dcom_saproxy.c110 ZVAL_COPY_VALUE(&args[i-1], offset); in saproxy_read_dimension()
124 php_com_saproxy_create(object, rv, offset); in saproxy_read_dimension()
137 convert_to_long(offset); in saproxy_read_dimension()
152 if (Z_LVAL_P(offset) < lbound || Z_LVAL_P(offset) > ubound) { in saproxy_read_dimension()
174 indices[dims-1] = (LONG)Z_LVAL_P(offset); in saproxy_read_dimension()
200 php_com_saproxy_create(object, rv, offset); in saproxy_read_dimension()
206 static void saproxy_write_dimension(zval *object, zval *offset, zval *value) in saproxy_write_dimension() argument
222 ZVAL_COPY_VALUE(&args[i-1], offset); in saproxy_write_dimension()
248 convert_to_long(offset); in saproxy_write_dimension()
249 indices[dims-1] = (LONG)Z_LVAL_P(offset); in saproxy_write_dimension()
[all …]
/PHP-7.0/ext/zip/lib/
H A Dzip_utf-8.c223 zip_uint32_t buflen, i, offset; in _zip_cp437_to_utf8() local
240 offset = 0; in _zip_cp437_to_utf8()
242 offset += _zip_unicode_to_utf8(_cp437_to_unicode[cp437buf[i]], in _zip_cp437_to_utf8()
243 utf8buf+offset); in _zip_cp437_to_utf8()
/PHP-7.0/Zend/
H A Dzend_vm_execute.h6129 offset = Z_REFVAL_P(offset);
6414 offset = Z_REFVAL_P(offset);
7970 offset = Z_REFVAL_P(offset);
9872 offset = Z_REFVAL_P(offset);
9977 offset = Z_REFVAL_P(offset);
11668 offset = Z_REFVAL_P(offset);
11773 offset = Z_REFVAL_P(offset);
13146 offset = Z_REFVAL_P(offset);
13873 offset = Z_REFVAL_P(offset);
14425 offset = Z_REFVAL_P(offset);
[all …]
/PHP-7.0/ext/standard/tests/array/
H A Darray_slice_variation3.phpt7 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
8 * Description: Returns elements specified by offset and length
20 $offset = 2;
78 var_dump( array_slice($input_array, $offset, $input) );
/PHP-7.0/ext/oci8/
H A Doci8_lob.c246 oraub8 bytes_read, offset = 0; in php_oci_lob_read() local
285 offset = initial_offset; in php_oci_lob_read()
375 descriptor->lob_current_position = (int)offset; in php_oci_lob_read()
415 if (offset > descriptor->lob_current_position) { in php_oci_lob_write()
416 offset = descriptor->lob_current_position; in php_oci_lob_write()
425 (ub4) offset + 1, in php_oci_lob_write()
712 ub4 offset = 1; in php_oci_lob_import() local
732 offset, in php_oci_lob_import()
751 offset += loblen; in php_oci_lob_import()
850 if (offset == -1) { in php_oci_lob_erase()
[all …]
/PHP-7.0/ext/date/lib/
H A Dparse_tz.c169 …tz->type[i].offset = (buffer[j] * 16777216) + (buffer[j + 1] * 65536) + (buffer[j + 2] * 256) + bu… in read_types()
197 tz->leap_times[i].offset = timelib_conv_int(leap_buffer[i * 2 + 1]); in read_types()
279 (long int) tz->type[0].offset, in timelib_dump_tzinfo()
289 (long int) tz->type[tz->trans_idx[i]].offset, in timelib_dump_tzinfo()
301 tz->leap_times[i].offset); in timelib_dump_tzinfo()
483 int32_t offset = 0, leap_secs = 0; in timelib_get_time_zone_info() local
489 offset = to->offset; in timelib_get_time_zone_info()
494 offset = 0; in timelib_get_time_zone_info()
501 leap_secs = -tl->offset; in timelib_get_time_zone_info()
504 tmp->offset = offset; in timelib_get_time_zone_info()
[all …]

Completed in 232 milliseconds

12345678910>>...29