/PHP-5.3/ext/standard/tests/array/ |
H A D | array_slice_variation5.phpt | 34 -- $offset is -7 -- 48 -- $offset is -6 -- 62 -- $offset is -5 -- 76 -- $offset is -4 -- 112 -- $offset is 0 -- 126 -- $offset is 1 -- 138 -- $offset is 2 -- 148 -- $offset is 3 -- 156 -- $offset is 4 -- 162 -- $offset is 5 -- [all …]
|
H A D | array_splice_variation3.phpt | 13 function test_splice ($offset, $length) 17 var_dump (array_splice ($input_array,$offset,$length)); 118 absolute offset - absolute length - cut from middle 159 absolute offset - absolute length - cut from end 241 absolute offset - absolute length - cut everything 282 absolute offset - absolute length - cut nothing 446 absolute offset - relative length - cut nothing 569 relative offset - absolute length - cut from end 651 relative offset - absolute length - cut everything 692 relative offset - absolute length - cut nothing [all …]
|
/PHP-5.3/ext/dom/ |
H A D | characterdata.c | 33 ZEND_ARG_INFO(0, offset) 196 if (offset < 0 || count < 0 || offset > length) { in PHP_FUNCTION() 262 long offset; in PHP_FUNCTION() local 279 if (offset < 0 || offset > length) { in PHP_FUNCTION() 286 second = xmlUTF8Strsub(cur, offset, length - offset); in PHP_FUNCTION() 326 if (offset < 0 || count < 0 || offset > length) { in PHP_FUNCTION() 332 if (offset > 0) { in PHP_FUNCTION() 342 second = xmlUTF8Strsub(cur, offset + count, length - offset); in PHP_FUNCTION() 382 if (offset < 0 || count < 0 || offset > length) { in PHP_FUNCTION() 388 if (offset > 0) { in PHP_FUNCTION() [all …]
|
/PHP-5.3/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 144 ms->offset = m->offset; in match() 218 ms->offset = m->offset; in match() 1092 offset = ~offset; in mget() 1144 offset = ~offset; in mget() 1196 offset = ~offset; in mget() 1232 offset = ~offset; in mget() 1303 offset = ~offset; in mget() 1374 offset = ~offset; in mget() 1444 offset = ~offset; in mget() 1479 offset = ~offset; in mget() [all …]
|
/PHP-5.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_errorinfo.phpt | 22 $offset, $expected, $code); 46 check_error($offset + 2, $db); 50 check_error($offset + 3, $db); 51 check_error($offset + 4, $stmt); 55 check_error($offset + 5, $db); 64 check_error($offset + 9, $db); 65 check_error($offset + 10, $stmt); 72 check_error($offset + 13, $stmt); 73 check_error($offset + 14, $stmt2); 80 check_error($offset + 17, $stmt); [all …]
|
/PHP-5.3/ext/intl/doc/ |
H A D | grapheme_api.php | 33 * @param [int] $offset The optional offset parameter allows you to specify 38 function grapheme_strpos($haystack, $needle, $offset = 0) {} argument 45 * @param [int] $offset The optional offset parameter allows you to specify 50 function grapheme_stripos($haystack, $needle, $offset = 0) {} argument 57 * @param [int] $offset The optional offset parameter allows you to specify 62 function grapheme_strrpos($haystack, $needle, $offset = 0) {} argument 69 * @param [int] $offset The optional offset parameter allows you to specify 74 function grapheme_strripos($haystack, $needle, $offset = 0) {} argument
|
/PHP-5.3/ext/intl/grapheme/ |
H A D | grapheme_util.h | 30 … int32_t haystack_len, unsigned char*needle, int32_t needle_len, int32_t offset, int f_ignore_case… 33 … int32_t haystack_len, unsigned char*needle, int32_t needle_len, int32_t offset, int *puchar_pos, … 48 …e_get_haystack_offset(UBreakIterator* bi, UChar *uhaystack, int32_t uhaystack_len, int32_t offset); 51 …d char *haystack, int32_t haystack_len, unsigned char *needle, int32_t needle_len, int32_t offset); 57 …efine OUTSIDE_STRING(offset, max_len) ( offset <= INT32_MIN || offset > INT32_MAX || (offset < 0 ?… argument
|
/PHP-5.3/Zend/tests/ |
H A D | bug32252.phpt | 8 function offsetExists($offset) 10 echo __METHOD__ . "($offset)\n"; 14 function offsetGet($offset) 16 echo __METHOD__ . "($offset)\n"; 20 function offsetSet($offset, $value) 22 echo __METHOD__ . "($offset, $value)\n"; 26 function offsetUnset($offset) 28 echo __METHOD__ . "($offset)\n";
|
H A D | bug39018.phpt | 2 Bug #39018 (Error control operator '@' fails to suppress "Uninitialized string offset") 66 Notice: Uninitialized string offset: 0 in %s on line 12 68 Notice: Uninitialized string offset: %i in %s on line 16 70 Notice: Uninitialized string offset: 4 in %s on line 28 72 Notice: Uninitialized string offset: 4 in %s on line 34 74 Notice: Uninitialized string offset: 4 in %s on line 38 76 Notice: Uninitialized string offset: 4 in %s on line 42 78 Notice: Uninitialized string offset: 4 in %s on line 46 80 Notice: Uninitialized string offset: 12 in %s on line 52
|
H A D | bug54367.phpt | 7 public function offsetSet($offset, $value) { } 8 public function offsetExists($offset) { } 9 public function offsetUnset($offset) { } 11 public function offsetGet ($offset) 13 return function ($var) use ($offset) { // here is the problem 14 var_dump($offset, $var);
|
H A D | bug30346.phpt | 9 public function offsetExists( $offset ) { return false; } 10 public function offsetGet( $offset ) { return $offset; } 11 public function offsetSet( $offset, $data ) { } 12 public function offsetUnset( $offset ) { }
|
H A D | bug39297.phpt | 13 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);
|
/PHP-5.3/ext/spl/internal/ |
H A D | limititerator.inc | 27 private $offset; 34 * @param offset Offset to first element 39 if ($offset < 0) { 40 throw new exception('Parameter offset must be > 0'); 46 $this->offset = $offset; 52 * @param position offset to seek to (relative to beginning not offset 57 if ($position < $this->offset) { 58 throw new exception('Cannot seek to '.$position.' which is below offset '.$this->offset); 61 …throw new exception('Cannot seek to '.$position.' which is behind offset '.$this->offset.' plus co… 73 /** Rewind to offset specified in constructor [all …]
|
H A D | spldoublylinkedlist.inc | 195 * @param $offset The offset 201 if (!is_numeric($offset)) { 210 * @param $offset The offset 214 public function offsetGet($offset) 219 $realOffset = $offset; 231 * @param $offset The offset 238 if ($offset === null) { 245 $realOffset = $offset; 257 * @param $offset The offset 261 public function offsetUnset($offset) [all …]
|
/PHP-5.3/ext/date/tests/ |
H A D | bug40861.phpt | 7 $offset = +60; 9 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts)); 12 $offset = -60; 14 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts)); 17 $offset = -60; 19 $result = date("Y-m-d H:i:s", strtotime("-$offset minutes", $ts)); 23 $offset = 60; 25 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts));
|
H A D | 010.phpt | 16 ["offset"]=> 25 ["offset"]=> 34 ["offset"]=> 43 ["offset"]=> 52 ["offset"]=> 61 ["offset"]=>
|
H A D | strtotime-relative.phpt | 11 // 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 D | date_offset_get_basic1.phpt | 6 * 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
|
/PHP-5.3/ext/spl/ |
H A D | spl_engine.c | 46 PHPAPI long spl_offset_convert_to_long(zval *offset TSRMLS_DC) /* {{{ */ in spl_offset_convert_to_long() 48 switch (Z_TYPE_P(offset)) { in spl_offset_convert_to_long() 50 ZEND_HANDLE_NUMERIC(Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, idx); in spl_offset_convert_to_long() 53 return (long)Z_DVAL_P(offset); in spl_offset_convert_to_long() 57 return Z_LVAL_P(offset); in spl_offset_convert_to_long()
|
/PHP-5.3/ext/zip/lib/ |
H A D | zip_file_get_offset.c | 57 unsigned int offset; in _zip_file_get_offset() local 59 offset = za->cdir->entry[idx].offset; in _zip_file_get_offset() 61 if (fseeko(za->zp, offset, SEEK_SET) != 0) { in _zip_file_get_offset() 69 offset += LENTRYSIZE + de.filename_len + de.extrafield_len; in _zip_file_get_offset() 73 return offset; in _zip_file_get_offset()
|
/PHP-5.3/ext/xmlrpc/libxmlrpc/ |
H A D | base64.c | 29 b->offset = 0; in buffer_new() 35 b->offset++; in buffer_add() 36 if (b->offset == b->length) { in buffer_add() 39 b->ptr = b->data + b->offset; in buffer_add() 47 b->offset = 0; in buffer_delete() 55 int offset = 0; in base64_encode_xmlrpc() local 81 offset++; in base64_encode_xmlrpc() 82 if (offset > length) { in base64_encode_xmlrpc() 106 if (!(b->offset % 72)) { in base64_encode_xmlrpc() 120 int offset = 0; in base64_decode_xmlrpc() local [all …]
|
/PHP-5.3/ext/standard/tests/serialize/ |
H A D | bug25378.phpt | 21 Notice: unserialize(): Error at offset 0 of 8 bytes in %sbug25378.php on line %d 24 Notice: unserialize(): Error at offset 0 of 5 bytes in %sbug25378.php on line %d 27 Notice: unserialize(): Error at offset 13 of 19 bytes in %sbug25378.php on line %d 30 Notice: unserialize(): Error at offset 14 of 19 bytes in %sbug25378.php on line %d 33 Notice: unserialize(): Error at offset 2 of 22 bytes in %sbug25378.php on line %d 36 Notice: unserialize(): Error at offset 17 of 18 bytes in %sbug25378.php on line %d 39 Notice: unserialize(): Error at offset 24 of 33 bytes in %sbug25378.php on line %d 48 Notice: unserialize(): Error at offset 2 of 13 bytes in %sbug25378.php on line %d 51 Notice: unserialize(): Error at offset 2 of 11 bytes in %sbug25378.php on line %d 54 Notice: unserialize(): Error at offset 8 of 9 bytes in %sbug25378.php on line %d [all …]
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | include_userstream_001.phpt | 39 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;
|
/PHP-5.3/ext/iconv/tests/ |
H A D | iconv_substr.phpt | 17 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.3/ext/mysqli/tests/ |
H A D | mysqli_stmt_fetch_geom.phpt | 18 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 …]
|