/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | parse_ini_basic.data | 49 [offset values] 50 foo1[] = "basic offset 1" 51 foo1[ ] = "basic offset 2" 52 foo2[123] = "long offset" 53 foo3[abc] = "string offset" 54 foo4[""] = "quoted offset 1" 55 foo4[" "] = "quoted offset 2" 56 foo4["sqfoobar"] = "quoted string offset" 57 foo4['dqfoobar'] = "single quoted offset"
|
H A D | parse_ini_basic.phpt | 105 ["offset values"]=> 110 string(14) "basic offset 1" 112 string(14) "basic offset 2" 117 string(11) "long offset" 122 string(13) "string offset" 127 string(15) "quoted offset 1" 129 string(15) "quoted offset 2" 131 string(20) "quoted string offset" 133 string(20) "single quoted offset"
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | bug42378.phpt | 19 $offset, 29 $offset + 1, 42 $offset + 2, 55 $offset, 68 $offset + 1, 75 $offset + 2, 82 $offset + 3, 92 $offset + 4, 99 $offset + 5, 106 $offset + 6, [all …]
|
H A D | local_infile_tools.inc | 50 function create_standard_csv($offset, $verbose = true) { 55 printf("[%03d + 1] Cannot create CVS file '%s'\n", $offset, $file); 66 printf("[%03d + 3] Cannot write CVS file '%s'\n", $offset, $file); 75 $offset, $file); 81 function try_handler($offset, $link, $file, $handler, $expected = null) { 86 printf("[%03d] Cannot set infile handler to '%s'\n", $offset, $handler); 102 $offset + 2, 107 printf("[%03d] [%d] %s\n", $offset + 3, mysqli_errno($link), mysqli_error($link)); 121 $offset + 5, $k, 127 $offset + 6, $k, [all …]
|
H A D | mysqli_stmt_bind_limits.phpt | 13 function bind_many($offset, $link, $num_params, $rows, $eval = true) { 43 printf("[%03d + 01] [%d] %s\n", $offset, $link->errno, $link->error); 49 printf("[%03d + 02] [%d] %s\n", $offset, $link->errno, $link->error); 53 …printf("[%03d + 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stm… 60 printf("[%03d + 03] [%d] %s\n", $offset, $stmt->errno, $stmt->error); 70 printf("[%03d + 03] [%d] %s\n", $offset, $stmt->errno, $stmt->error); 75 …printf("[%03d + 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stm… 80 printf("[%03d + 04] [%d] %s\n", $offset, $stmt->errno, $stmt->error); 88 printf("[%03d + 05] [%d] %s\n", $offset, $link->errno, $link->error); 97 printf("[%03d + 06] [%d] %s\n", $offset, $link->errno, $link->error);
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | bug38450_3.phpt | 48 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 D | fopencookie.phpt | 45 function stream_seek($offset, $whence) 49 if ($offset < strlen($this->data) && $offset >= 0) { 50 $this->position = $offset; 57 if ($offset >= 0) { 58 $this->position += $offset; 65 if (strlen($this->data) + $offset >= 0) { 66 $this->position = strlen($this->data) + $offset;
|
H A D | include_streams.phpt | 67 function stream_seek($offset, $whence) 71 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) { 72 $this->position = $offset; 79 if ($offset >= 0) { 80 $this->position += $offset; 87 if (strlen($GLOBALS[$this->varname]) + $offset >= 0) { 88 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
|
H A D | userstreams.phpt | 129 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) { 130 $this->position = $offset; 137 if ($offset >= 0) { 138 $this->position += $offset; 213 $offset = rand(0, $DATALEN - 1); 214 $position = $offset; 217 $offset = -rand(0, $DATALEN - 1); 218 $position = $DATALEN + $offset; 221 $offset = rand(0, $DATALEN - 1); 222 $offset -= $position; [all …]
|
/PHP-7.4/ext/standard/tests/serialize/ |
H A D | unserialize_large.phpt | 13 Notice: unserialize(): Error at offset 14 of 15 bytes in %s on line %d 16 Notice: unserialize(): Error at offset 2 of 20 bytes in %s on line %d 19 Notice: unserialize(): Error at offset 18 of 21 bytes in %s on line %d 24 Notice: unserialize(): Error at offset 20 of 21 bytes in %s on line %d
|
/PHP-7.4/tests/strings/ |
H A D | offsets_chaining_5.phpt | 2 testing the behavior of string offset chaining 20 Warning: Illegal string offset 'foo' in %soffsets_chaining_5.php on line %d 24 Warning: Illegal string offset 'foo' in %soffsets_chaining_5.php on line %d 26 Warning: Illegal string offset 'bar' in %soffsets_chaining_5.php on line %d
|
/PHP-7.4/ext/intl/tests/ |
H A D | bug74264.phpt | 9 foreach (range(-5, -1) as $offset) { 11 grapheme_strrpos('déjàààà', 'à', $offset), 12 grapheme_strripos('DÉJÀÀÀÀ', 'à', $offset)
|
/PHP-7.4/TSRM/ |
H A D | TSRM.h | 106 TSRM_API ts_rsrc_id ts_allocate_fast_id(ts_rsrc_id *rsrc_id, size_t *offset, size_t size, ts_alloca… 170 #define TSRMG_FAST(offset, type, element) (TSRMG_FAST_BULK(offset, type)->element) argument 171 #define TSRMG_FAST_BULK(offset, type) ((type) (((char*) tsrm_get_ls_cache())+(offset))) argument 175 #define TSRMG_FAST_STATIC(offset, type, element) (TSRMG_FAST_BULK_STATIC(offset, type)->element) argument 176 #define TSRMG_FAST_BULK_STATIC(offset, type) ((type) (((char*) TSRMLS_CACHE)+(offset))) argument
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | strrpos_variation8.phpt | 5 /* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); 20 for($offset = -1; $offset <= strlen($haystack); $offset++ ) { 22 var_dump( strrpos($haystack, $needle, $offset) );
|
/PHP-7.4/ext/dom/tests/ |
H A D | DOMComment_insertData_error1.phpt | 11 //Negative offset 18 echo "Throws DOMException for -ve offset\n"; 24 Throws DOMException for -ve offset
|
H A D | DOMComment_insertData_error2.phpt | 11 //offset to large 18 echo "Throws DOMException for offset too large\n"; 24 Throws DOMException for offset too large
|
/PHP-7.4/ext/spl/ |
H A D | spl_array.c | 297 if (!offset || Z_ISUNDEF_P(offset) || !ht) { in spl_array_get_dimension_ptr() 387 ZVAL_DEREF(offset); in spl_array_get_dimension_ptr() 413 if (!offset) { in spl_array_read_dimension_ex() 415 offset = &tmp; in spl_array_read_dimension_ex() 459 if (!offset) { in spl_array_write_dimension_ex() 461 offset = &tmp; in spl_array_write_dimension_ex() 466 zval_ptr_dtor(offset); in spl_array_write_dimension_ex() 476 if (!offset) { in spl_array_write_dimension_ex() 511 ZVAL_DEREF(offset); in spl_array_write_dimension_ex() 597 ZVAL_DEREF(offset); in spl_array_unset_dimension_ex() [all …]
|
/PHP-7.4/ext/spl/tests/ |
H A D | bug66834.phpt | 9 public function offsetExists($offset) { 11 return parent::offsetExists($offset); 14 public function offsetGet($offset) { 16 return parent::offsetGet($offset); 23 public function offsetExists($offset) { 25 return parent::offsetExists($offset); 32 public function offsetGet($offset) { 34 return parent::offsetGet($offset); 41 public function offsetGet($offset) 43 return parent::offsetGet(str_rot13($offset)); [all …]
|
/PHP-7.4/Zend/tests/ |
H A D | list_keyed_evaluation_order.phpt | 11 …IndexableRetrievable("E", new Indexable(["A" => "value for offset A", "C" => "value for offset C"]… 32 Offset B set to value for offset A. 35 Offset D set to value for offset C.
|
/PHP-7.4/ext/calendar/tests/ |
H A D | jddayofweek.phpt | 11 for ($offset = 0; $offset <= 7; $offset++) { 12 echo jddayofweek($jd + $offset, $mode). "\n";
|
/PHP-7.4/main/streams/ |
H A D | mmap.c | 23 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mm… in _php_stream_mmap_range() argument 27 range.offset = offset; in _php_stream_mmap_range()
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | array_slice_variation6.phpt | 5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]]) 6 * Description: Returns elements specified by offset and length 17 $offset = 1; 21 var_dump(array_slice($input, $offset, $i)); 24 var_dump(array_slice($input, $offset, PHP_INT_MAX)); 27 var_dump(array_slice($input, $offset, -PHP_INT_MAX));
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_blobfromsteam.phpt | 33 function blob_from_stream($offset, $db, $file, $blob) { 38 printf("[%03d + 1] Cannot remove old test file\n", $offset); 44 printf("[%03d + 2] Cannot create test file '%s'\n", $offset, $file); 51 printf("[%03d + 3] Failed to create test file '%s'\n", $offset, $file); 60 printf("[%03d + 4] %s\n", $offset, var_export($db->errorInfo(), true)); 66 printf("[%03d + 5] Cannot create test file '%s'\n", $offset, $file); 75 $offset, 82 printf("[%03d + 7] Failed to INSERT data, %s\n", $offset, var_export($stmt->errorInfo(), true)); 89 printf("[%03d + 8] INSERT and/or SELECT has failed, dumping data.\n", $offset); 102 printf("[%03d + 9] %s\n", $offset, var_export($stmt->errorInfo(), true)); [all …]
|
/PHP-7.4/ext/intl/grapheme/ |
H A D | grapheme_string.c | 114 int32_t offset = 0; in PHP_FUNCTION() local 130 offset = (int32_t) loffset; in PHP_FUNCTION() 131 noffset = offset >= 0 ? offset : (int32_t)haystack_len + offset; in PHP_FUNCTION() 140 if (offset >= 0) { in PHP_FUNCTION() 177 int32_t offset = 0; in PHP_FUNCTION() local 193 offset = (int32_t) loffset; in PHP_FUNCTION() 206 int32_t noffset = offset >= 0 ? offset : (int32_t)haystack_len + offset; in PHP_FUNCTION() 246 int32_t offset = 0; in PHP_FUNCTION() local 262 offset = (int32_t) loffset; in PHP_FUNCTION() 309 int32_t offset = 0; in PHP_FUNCTION() local [all …]
|
/PHP-7.4/ext/standard/ |
H A D | type.c | 131 int offset = 0; in PHP_FUNCTION() local 133 offset = 1; in PHP_FUNCTION() 136 if (strval[offset] == '0' && (strval[offset + 1] == 'b' || strval[offset + 1] == 'B')) { in PHP_FUNCTION() 142 if (offset) { in PHP_FUNCTION() 147 memcpy(tmpval + offset, strval + offset + 2, strlen - offset); in PHP_FUNCTION()
|