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

Replace each() with foreach in asXML() example #1

Closed
wants to merge 1 commit into from

Conversation

nikic
Copy link
Member

@nikic nikic commented Jun 8, 2019

No description provided.

@nikic
Copy link
Member Author

nikic commented Jun 8, 2019

@php-pulls merge

@php-pulls php-pulls closed this in 43ae993 Jun 8, 2019
php-pulls pushed a commit that referenced this pull request Mar 7, 2020
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349324 c90b9560-bf6c-de11-be94-00142212c4b1
php-pulls pushed a commit that referenced this pull request May 17, 2020
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 added a commit to tiffany-taylor/doc-en that referenced this pull request Nov 9, 2022
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
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