Home
last modified time | relevance | path

Searched refs:offset (Results 26 – 50 of 649) sorted by relevance

12345678910>>...26

/PHP-5.5/Zend/tests/
H A Dbug39297.phpt13 public function offsetExists($offset) {
16 public function offsetUnset($offset) {
19 public function offsetSet($offset, $value) {
21 $cannonicalName = strtolower($offset);
26 public function offsetGet($offset) {
28 $cannonicalName = strtolower($offset);
H A Dstr_offset_001.phpt2 string offset 001
27 Notice: Uninitialized string offset: -1 in %sstr_offset_001.php on line %d
33 Notice: Uninitialized string offset: 3 in %sstr_offset_001.php on line %d
37 Notice: Uninitialized string offset: 1 in %sstr_offset_001.php on line %d
40 Notice: Uninitialized string offset: -1 in %sstr_offset_001.php on line %d
46 Notice: Uninitialized string offset: 3 in %sstr_offset_001.php on line %d
50 Notice: Uninitialized string offset: 1 in %sstr_offset_001.php on line %d
H A Doffset_string.phpt33 Notice: String offset cast occurred in %s on line %d
36 Notice: String offset cast occurred in %s on line %d
39 Warning: Illegal string offset 'run away' in %s on line %d
43 Warning: Illegal string offset '14.5' in %s on line %d
49 Notice: String offset cast occurred in %s on line %d
52 Notice: String offset cast occurred in %s on line %d
55 Warning: Illegal offset type in %s on line %d
58 Warning: Illegal offset type in %s on line %d
63 Warning: Illegal offset type in %s on line %d
H A Dbug33710.phpt8 function offsetExists($offset) {/*...*/}
9 function offsetGet($offset) {/*...*/}
10 function offsetSet($offset, $value) {/*...*/}
11 function offsetUnset($offset) {/*...*/}
H A Dbug39304.phpt2 Bug #39304 (Segmentation fault with list unpacking of string offset)
10 Notice: Uninitialized string offset: 0 in %sbug39304.php on line %d
12 Notice: Uninitialized string offset: 1 in %sbug39304.php on line %d
14 Notice: Uninitialized string offset: 0 in %sbug39304.php on line %d
H A Dbug39304_2_4.phpt2 Bug #39304 (Segmentation fault with list unpacking of string offset)
12 Notice: Uninitialized string offset: 0 in %sbug39304_2_4.php on line %d
14 Notice: Uninitialized string offset: 1 in %sbug39304_2_4.php on line %d
16 Notice: Uninitialized string offset: 0 in %sbug39304_2_4.php on line %d
/PHP-5.5/ext/standard/tests/file/
H A Dinclude_userstream_001.phpt39 function stream_seek($offset, $whence)
43 if ($offset < $this->data && $offset >= 0) {
44 $this->pos = $offset;
51 if ($offset >= 0) {
52 $this->pos += $offset;
59 if (strlen($this->data) + $offset >= 0) {
60 $this->pos = strlen($this->data) + $offset;
H A Dbug38450.phpt48 function stream_seek($offset, $whence)
52 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) {
53 $this->position = $offset;
61 if ($offset >= 0) {
62 $this->position += $offset;
70 if (strlen($GLOBALS[$this->varname]) + $offset >= 0) {
71 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
H A Dbug38450_1.phpt48 function stream_seek($offset, $whence)
52 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) {
53 $this->position = $offset;
61 if ($offset >= 0) {
62 $this->position += $offset;
70 if (strlen($GLOBALS[$this->varname]) + $offset >= 0) {
71 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
H A Dbug38450_3.phpt48 function stream_seek($offset, $whence)
52 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) {
53 $this->position = $offset;
61 if ($offset >= 0) {
62 $this->position += $offset;
70 if (strlen($GLOBALS[$this->varname]) + $offset >= 0) {
71 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
H A Dfopencookie.phpt46 function stream_seek($offset, $whence)
50 if ($offset < strlen($this->data) && $offset >= 0) {
51 $this->position = $offset;
58 if ($offset >= 0) {
59 $this->position += $offset;
66 if (strlen($this->data) + $offset >= 0) {
67 $this->position = strlen($this->data) + $offset;
/PHP-5.5/ext/date/tests/
H A Dstrtotime-relative.phpt11 // offset around a day
18 // offset around 7 days
25 // offset around 6 months
32 // offset around 10 years
39 // offset around 25 years (can't do much more reliably with strtotime)
45 foreach ($offsets AS $offset) {
47 …echo "$direction$offset: " . date(DATE_ISO8601, strtotime("$direction$offset", $base_time)) . "\n";
H A Ddate_offset_get_basic1.phpt6 * Description: Returns the daylight saving time offset
19 echo "Winter offset: " . date_offset_get($winter) / 3600 . " hours\n";
20 echo "Summer offset: " . date_offset_get($summer) / 3600 . " hours\n";
26 Winter offset: 0 hours
27 Summer offset: 1 hours
H A DDateTime_getOffset_basic1.phpt6 * Description: Returns the daylight saving time offset
19 echo "Winter offset: " . $winter->getOffset() / 3600 . " hours\n";
20 echo "Summer offset: " . $summer->getOffset() / 3600 . " hours\n";
26 Winter offset: 0 hours
27 Summer offset: 1 hours
/PHP-5.5/ext/iconv/tests/
H A Diconv_substr.phpt17 function foo($str, $offset, $len, $charset) {
18 hexdump(substr($str, $offset, $len));
19 hexdump(iconv_substr($str, $offset, $len, $charset));
22 function bar($str, $offset, $len = false) {
24 var_dump(substr($str, $offset));
25 var_dump(iconv_substr($str, $offset));
27 var_dump(substr($str, $offset, $len));
28 var_dump(iconv_substr($str, $offset, $len));
/PHP-5.5/ext/pcre/pcrelib/testdata/
H A Dtestoutput1569 Failed: invalid UTF-8 string at offset 1
72 Failed: invalid UTF-8 string at offset 0
75 Failed: invalid UTF-8 string at offset 0
91 Error -10 (bad UTF-8 string) offset=0 reason=1
93 Error -10 (bad UTF-8 string) offset=0 reason=2
95 Error -10 (bad UTF-8 string) offset=0 reason=1
97 Error -10 (bad UTF-8 string) offset=0 reason=3
99 Error -10 (bad UTF-8 string) offset=0 reason=2
101 Error -10 (bad UTF-8 string) offset=0 reason=1
904 Error -11 (bad UTF-8 offset)
[all …]
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_geom.phpt21 function func_mysqli_stmt_get_result_geom($link, $engine, $sql_type, $bind_value, $offset) {
24 printf("[%04d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
36 printf("[%04d] [%d] %s\n", $offset + 2 + $id, mysqli_errno($link), mysqli_error($link));
41 printf("[%04d] [%d] %s\n", $offset + 6, mysqli_errno($link), mysqli_error($link));
46 printf("[%04d] [%d] %s\n", $offset + 7, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
52 printf("[%04d] [%d] %s\n", $offset + 8, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
73 printf("[%04d] [%d] %s\n", $offset + 11, mysqli_errno($link), mysqli_error($link));
96 printf("[%04d] [%d] %s\n", $offset + 15, mysqli_errno($link), mysqli_error($link));
101 printf("[%04d] [%d] %s\n", $offset + 16, mysqli_errno($link), mysqli_error($link));
106 printf("[%04d] PS and non-PS return different data.\n", $offset + 17);
[all …]
H A Dmysqli_stmt_fetch_geom.phpt18 function func_mysqli_stmt_fetch_geom($link, $engine, $sql_type, $bind_value, $offset) {
21 printf("[%04d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
33 printf("[%04d] [%d] %s\n", $offset + 2 + $id, mysqli_errno($link), mysqli_error($link));
38 printf("[%04d] [%d] %s\n", $offset + 6, mysqli_errno($link), mysqli_error($link));
43 printf("[%04d] [%d] %s\n", $offset + 7, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
49 printf("[%04d] [%d] %s\n", $offset + 8, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
75 $offset + 17, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt), $num);
82 printf("[%04d] [%d] %s\n", $offset + 10, mysqli_errno($link), mysqli_error($link));
105 printf("[%04d] [%d] %s\n", $offset + 14, mysqli_errno($link), mysqli_error($link));
110 printf("[%04d] [%d] %s\n", $offset + 15, mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_stmt_bind_param_type_juggling.phpt16 printf("[%03d + 1] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
23 printf("[%03d + 2] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
28 printf("[%03d + 3] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
33 printf("[%03d + 4] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
38 printf("[%03d + 5] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
43 printf("[%03d + 6] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
48 printf("[%03d + 7] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
52 printf("[%03d + 8] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
58 printf("[%03d + 9] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
69 $offset, $bind_value1, $bind_value1,
[all …]
/PHP-5.5/win32/
H A Dflock.c59 OVERLAPPED offset = in flock() local
64 UnlockFileEx(hdl, 0, low, high, &offset); in flock()
69 0, low, high, &offset)) in flock()
74 0, low, high, &offset)) in flock()
/PHP-5.5/ext/phar/tests/zip/files/
H A Dcorrupt_zipmaker.php.inc42 var $offset = 0;
172 0x0000, $this->offset).
180 0x0000, $this->offset).
188 0x0000, $this->offset).
196 0x0000, $this->offset).
204 0x0000, $this->offset).
212 0x0000, $this->offset).
220 0x0000, $this->offset).
224 case 'offset' :
274 $offset = 0;
[all …]
/PHP-5.5/ext/spl/tests/
H A DSplObjectStorage_unserialize_invalid_parameter2.phpt29 Error at offset %d of %d bytes
30 Error at offset %d of %d bytes
31 Error at offset %d of %d bytes
32 Error at offset %d of %d bytes
33 Error at offset %d of %d bytes
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_blobs.phpt25 function test_blob($db, $offset, $sql_type, $test_len) {
36 $offset, $stmt->errorCode(), var_export($stmt->errorInfo(), true));
47 $offset, $stmt->errorCode(), var_export($stmt->errorInfo(), true));
53 $offset, strlen($label), strlen($value));
59 $offset, var_export($id, true));
68 $offset, strlen($ret['label']), strlen($value));
74 $offset, var_export($ret['id'], true));
81 $offset = 0;
84 test_blob($db, ++$offset, $sql_type, $test_len);
86 test_blob($db, ++$offset, $sql_type, $test_len);
/PHP-5.5/ext/standard/tests/array/
H A Darray_slice_basic.phpt5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
6 * Description: Returns elements specified by offset and length
18 $offset = 2;
24 var_dump( array_slice($input, $offset, $length, $preserve_keys) );
28 var_dump( array_slice($input, $offset) );
/PHP-5.5/ext/standard/
H A Dmicrotime.c71 timelib_time_offset *offset; in _php_gettimeofday() local
73 offset = timelib_get_time_zone_info(tp.tv_sec, get_timezone_info(TSRMLS_C)); in _php_gettimeofday()
79 add_assoc_long(return_value, "minuteswest", -offset->offset / SEC_IN_MIN); in _php_gettimeofday()
80 add_assoc_long(return_value, "dsttime", offset->is_dst); in _php_gettimeofday()
82 timelib_time_offset_dtor(offset); in _php_gettimeofday()

Completed in 37 milliseconds

12345678910>>...26