Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify what NoRewindIterator does #2

Closed
wants to merge 1 commit into from
Closed

Conversation

nikic
Copy link
Member

@nikic nikic commented Jun 11, 2019

NoRewindIterator does not forbid rewinds, it ignores them.

NoRewindIterator does not forbid rewinds, it ignores them.
@nikic
Copy link
Member Author

nikic commented Jun 11, 2019

@php-pulls merge

@php-pulls php-pulls closed this in 42e615a Jun 11, 2019
Firehed added a commit to Firehed/doc-en that referenced this pull request Mar 18, 2021
The documented parameters differ from the names exposed in reflection/source code. Now that named parameters are supported in PHP 8, this discrepancy is confusing and impactful.

```
 $ php --rf fgetcsv
Function [ <internal:standard> function fgetcsv ] {

  - Parameters [5] {
    Parameter #0 [ <required> $stream ]
    Parameter php#1 [ <optional> ?int $length = null ]
    Parameter php#2 [ <optional> string $separator = "," ]
    Parameter php#3 [ <optional> string $enclosure = "\"" ]
    Parameter php#4 [ <optional> string $escape = "\\" ]
  }
  - Return [ array|false ]
}
```
php-pulls pushed a commit that referenced this pull request Mar 18, 2021
The documented parameters differ from the names exposed in reflection/source code. Now that named parameters are supported in PHP 8, this discrepancy is confusing and impactful.

```
 $ php --rf fgetcsv
Function [ <internal:standard> function fgetcsv ] {

  - Parameters [5] {
    Parameter #0 [ <required> $stream ]
    Parameter #1 [ <optional> ?int $length = null ]
    Parameter #2 [ <optional> string $separator = "," ]
    Parameter #3 [ <optional> string $enclosure = "\"" ]
    Parameter #4 [ <optional> string $escape = "\\" ]
  }
  - Return [ array|false ]
}
```

Closes GH-493.
tiffany-taylor pushed a commit to tiffany-taylor/doc-en that referenced this pull request Jan 16, 2023
claudepache pushed a commit to claudepache/php-doc-en that referenced this pull request Jun 1, 2023
xSavitar added a commit to xSavitar/doc-en that referenced this pull request Sep 10, 2023
This patch proposes a fix to something that looks like a typo, supposed to be `public static ...` and not the other way around.
mmalferov added a commit to mmalferov/doc-en that referenced this pull request Mar 13, 2024
…ument

In strict mode: Fatal error: Uncaught TypeError: var_export(): Argument php#2 ($return) must be of type bool, int given
Girgias pushed a commit that referenced this pull request Mar 17, 2024
In strict mode: Fatal error: Uncaught TypeError: var_export(): Argument #2 ($return) must be of type bool, int given
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant