/PHP-5.6/ext/standard/tests/file/ |
H A D | fpassthru_basic.phpt | 28 echo "\n-- After seeking position to 0 --\n"; 32 echo "\n-- After seeking position to 3 --\n"; 36 echo "\n-- After seeking position to 13 --\n"; 40 echo "\n-- After seeking position to 14 --\n"; 77 -- After seeking position to 0 -- 86 -- After seeking position to 3 -- 95 -- After seeking position to 13 -- 103 -- After seeking position to 14 -- 111 -- After seeking position to 23 -- 119 -- After seeking position to 34 -- [all …]
|
H A D | bug38450.phpt | 7 var $position; 18 $this->position = 0; 25 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 26 $this->position += strlen($ret); 32 $left = substr($GLOBALS[$this->varname], 0, $this->position); 35 $this->position += strlen($data); 41 return $this->position; 46 return $this->position >= strlen($GLOBALS[$this->varname]); 53 $this->position = $offset; 62 $this->position += $offset; [all …]
|
H A D | bug38450_1.phpt | 7 var $position; 18 $this->position = 0; 25 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 26 $this->position += strlen($ret); 32 $left = substr($GLOBALS[$this->varname], 0, $this->position); 35 $this->position += strlen($data); 41 return $this->position; 46 return $this->position >= strlen($GLOBALS[$this->varname]); 53 $this->position = $offset; 62 $this->position += $offset; [all …]
|
H A D | bug38450_3.phpt | 7 var $position; 18 $this->position = 0; 25 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 26 $this->position += strlen($ret); 32 $left = substr($GLOBALS[$this->varname], 0, $this->position); 35 $this->position += strlen($data); 41 return $this->position; 46 return $this->position >= strlen($GLOBALS[$this->varname]); 53 $this->position = $offset; 62 $this->position += $offset; [all …]
|
H A D | bug38450_2.phpt | 7 var $position; 18 $this->position = 0; 25 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 26 $this->position += strlen($ret); 32 $left = substr($GLOBALS[$this->varname], 0, $this->position); 35 $this->position += strlen($data); 41 return $this->position; 46 return $this->position >= strlen($GLOBALS[$this->varname]); 53 $this->position = $offset; 62 $this->position += $offset; [all …]
|
H A D | include_streams.phpt | 17 public $position; 43 $this->position = strlen($GLOBALS[$this->varname]); 45 $this->position = 0; 52 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 53 $this->position += strlen($ret); 59 return $this->position; 64 return $this->position >= strlen($GLOBALS[$this->varname]); 72 $this->position = $offset; 80 $this->position += $offset; 88 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
|
H A D | fopencookie.phpt | 21 public $position = 0; 31 $ret = substr($this->data, $this->position, $count); 32 $this->position += strlen($ret); 38 return $this->position; 43 return $this->position >= strlen($this->data); 51 $this->position = $offset; 59 $this->position += $offset; 67 $this->position = strlen($this->data) + $offset;
|
H A D | userstreams.phpt | 89 public $position; 104 $this->position = 0; 112 $this->position += strlen($ret); 118 return $this->position; 131 $this->position = $offset; 139 $this->position += $offset; 209 $position = 0; 215 $position = $offset; 223 $offset -= $position; 224 $position += $offset; [all …]
|
/PHP-5.6/ext/sqlite3/tests/ |
H A D | stream_test.inc | 5 private $position; 11 $this->position = 0; 17 $ret = substr(self::$string, $this->position, $count); 18 $this->position += strlen($ret); 34 return $this->position; 39 return ($this->position >= self::$string_length);
|
H A D | sqlite3_openblob_wrongparams.phpt | 12 private $position; 18 $this->position = 0; 24 $ret = substr(self::$string, $this->position, $count); 25 $this->position += strlen($ret); 41 return $this->position; 46 return ($this->position >= self::$string_length);
|
/PHP-5.6/ext/spl/internal/ |
H A D | seekableiterator.inc | 23 /** Seek to an absolute position 25 * \param $index position to seek to 29 * the given position. Typically this exception should be of type 34 $position = 0; 35 while($position < $index && $this->valid()) { 37 $position++; 40 throw new OutOfBoundsException('Invalid seek position');
|
H A D | limititerator.inc | 51 /** Seek to specified position 52 * @param position offset to seek to (relative to beginning not offset 54 * @throw exception when position is invalid 56 function seek($position) { 57 if ($position < $this->offset) { 58 throw new exception('Cannot seek to '.$position.' which is below offset '.$this->offset); 60 if ($position > $this->offset + $this->count && $this->count != -1) { 64 $this->it->seek($position); 65 $this->pos = $position; 67 while($this->pos < $position && $this->it->valid()) { [all …]
|
/PHP-5.6/sapi/phpdbg/ |
H A D | phpdbg_bp.c | 96 HashPosition position[2]; in phpdbg_reset_breakpoints() local 115 HashPosition position[2]; in phpdbg_export_breakpoints() local 401 HashPosition position; in phpdbg_resolve_op_array_breaks() local 967 HashPosition position; local 1091 HashPosition position; local 1330 HashPosition position; local 1356 HashPosition position; local 1371 HashPosition position[2]; local 1422 HashPosition position; local 1548 HashPosition position; local [all …]
|
H A D | phpdbg_info.c | 284 HashPosition position; in PHPDBG_INFO() local 290 for (zend_hash_internal_pointer_reset_ex(EG(class_table), &position); in PHPDBG_INFO() 292 zend_hash_move_forward_ex(EG(class_table), &position)) { in PHPDBG_INFO() 303 for (zend_hash_internal_pointer_reset_ex(&classes, &position); in PHPDBG_INFO() 304 zend_hash_get_current_data_ex(&classes, (void**)&ce, &position) == SUCCESS; in PHPDBG_INFO() 305 zend_hash_move_forward_ex(&classes, &position)) { in PHPDBG_INFO() 337 HashPosition position; in PHPDBG_INFO() local 343 for (zend_hash_internal_pointer_reset_ex(EG(function_table), &position); in PHPDBG_INFO() 345 zend_hash_move_forward_ex(EG(function_table), &position)) { in PHPDBG_INFO() 356 for (zend_hash_internal_pointer_reset_ex(&functions, &position); in PHPDBG_INFO() [all …]
|
/PHP-5.6/Zend/tests/ |
H A D | bug38779.phpt | 7 private $position; 11 $this->position = 0; 15 $ret = substr($this->data, $this->position, $count); 16 $this->position += strlen($ret); 20 return $this->position >= strlen($this->data);
|
H A D | bug38779_1.phpt | 7 private $position; 11 $this->position = 0; 15 $ret = substr($this->data, $this->position, $count); 16 $this->position += strlen($ret); 20 return $this->position >= strlen($this->data);
|
/PHP-5.6/ext/intl/formatter/ |
H A D | formatter_parse.c | 44 int32_t val32, position = 0; in PHP_FUNCTION() local 71 position = (int32_t)Z_LVAL_P( zposition ); in PHP_FUNCTION() 72 position_p = &position; in PHP_FUNCTION() 109 ZVAL_LONG(zposition, position); in PHP_FUNCTION() 136 int32_t position = 0; in PHP_FUNCTION() local 159 position = (int32_t)Z_LVAL_P( zposition ); in PHP_FUNCTION() 160 position_p = &position; in PHP_FUNCTION() 166 ZVAL_LONG(zposition, position); in PHP_FUNCTION()
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | each_variation6.phpt | 12 * Test the position of the internal array pointer after a call to each() 19 echo "\n-- Current position: --\n"; 25 echo "\n-- New position: --\n"; 34 -- Current position: -- 49 -- New position: --
|
H A D | key_exists_variation2.phpt | 19 // 42 has index = 0, netherless its position is the latest 28 // 'baz' has index = 0, netherless its position is the latest 40 // object has index = 0, netherless its position is the latest 44 // object has index = 0, netherless its position is the first 49 // stream resource has index = 0, netherless its position is the first 54 // stream resource has index = 0, netherless its position is the latest
|
H A D | each_basic.phpt | 21 echo "\n-- Initial position: --\n"; 24 echo "\n-- End position: --\n"; 48 -- Initial position: -- 60 -- End position: --
|
/PHP-5.6/ext/date/tests/ |
H A D | DateTime_modify_variation1.phpt | 115 Warning: DateTime::modify(): Failed to parse time string (0) at position 0 (0): Unexpected characte… 120 Warning: DateTime::modify(): Failed to parse time string (1) at position 0 (1): Unexpected characte… 180 Warning: DateTime::modify(): Failed to parse time string () at position 0 ( in %sDateTime_modify_va… 185 Warning: DateTime::modify(): Failed to parse time string () at position 0 ( in %sDateTime_modify_va… 190 Warning: DateTime::modify(): Failed to parse time string (1) at position 0 (1): Unexpected characte… 195 Warning: DateTime::modify(): Failed to parse time string () at position 0 ( in %sDateTime_modify_va… 205 Warning: DateTime::modify(): Failed to parse time string () at position 0 ( in %sDateTime_modify_va… 210 Warning: DateTime::modify(): Failed to parse time string () at position 0 ( in %sDateTime_modify_va… 215 Warning: DateTime::modify(): Failed to parse time string () at position 0 ( in %sDateTime_modify_va… 250 Warning: DateTime::modify(): Failed to parse time string () at position 0 ( in %sDateTime_modify_va… [all …]
|
H A D | date_modify_variation2.phpt | 115 Warning: date_modify(): Failed to parse time string (0) at position 0 (0): Unexpected character in … 120 Warning: date_modify(): Failed to parse time string (1) at position 0 (1): Unexpected character in … 180 Warning: date_modify(): Failed to parse time string () at position 0 ( in %sdate_modify_variation2.… 185 Warning: date_modify(): Failed to parse time string () at position 0 ( in %sdate_modify_variation2.… 190 Warning: date_modify(): Failed to parse time string (1) at position 0 (1): Unexpected character in … 195 Warning: date_modify(): Failed to parse time string () at position 0 ( in %sdate_modify_variation2.… 205 Warning: date_modify(): Failed to parse time string () at position 0 ( in %sdate_modify_variation2.… 210 Warning: date_modify(): Failed to parse time string () at position 0 ( in %sdate_modify_variation2.… 215 Warning: date_modify(): Failed to parse time string () at position 0 ( in %sdate_modify_variation2.… 250 Warning: date_modify(): Failed to parse time string () at position 0 ( in %sdate_modify_variation2.… [all …]
|
H A D | DateTime_construct_variation1.phpt | 127 FAILED: DateTime::__construct(): Failed to parse time string (0) at position 0 (0): Unexpected char… 128 FAILED: DateTime::__construct(): Failed to parse time string (0) at position 0 (0): Unexpected char… 131 FAILED: DateTime::__construct(): Failed to parse time string (1) at position 0 (1): Unexpected char… 132 FAILED: DateTime::__construct(): Failed to parse time string (1) at position 0 (1): Unexpected char… 135 FAILED: DateTime::__construct(): Failed to parse time string (12345) at position 4 (5): Unexpected … 136 FAILED: DateTime::__construct(): Failed to parse time string (12345) at position 4 (5): Unexpected … 161 FAILED: DateTime::__construct(): Failed to parse time string (-10.5) at position 4 (5): Unexpected … 235 FAILED: DateTime::__construct(): Failed to parse time string (1) at position 0 (1): Unexpected char… 236 FAILED: DateTime::__construct(): Failed to parse time string (1) at position 0 (1): Unexpected char… 257 FAILED: DateTime::__construct(): Failed to parse time string (1) at position 0 (1): Unexpected char… [all …]
|
/PHP-5.6/ext/intl/doc/ |
H A D | formatter_api.php | 191 * @param [integer] $position On input, the position to start parsing, default is 0; 196 public function parse($string, $type, &$position) {} argument 216 * @param [integer] $position On input, the position within text to match, default is 0; 221 public function parseCurrency($string, &$currency, &$position) {} argument 363 * @param [integer] $position String position after the end of parsed data. 366 function numfmt_parse($formatter, $string, $type, &$position) {} argument 386 * @param [integer] $position String position after the end of parsed data. 389 function numfmt_parse_currency($formatter, $string, &$currency, &$position) {} argument
|
/PHP-5.6/ext/phar/tests/zip/ |
H A D | bug48791.phpt | 14 …position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by…
|