Skip to content

Fix the description about reference in user-land - #1

Closed
sj-i wants to merge 1 commit into
php:masterfrom
sj-i:fix-refcount
Closed

sj-i wants to merge 1 commit into
php:masterfrom
sj-i:fix-refcount

Conversation

@sj-i

@sj-i sj-i commented Jan 13, 2021

Copy link
Copy Markdown
Contributor

"PHP allows user-land references" is an SVOO (Subject, Verb, indirect Object, direct Object).

@sj-i sj-i changed the title Fix the description about reference count in user-land Fix the description about reference in user-land Jan 13, 2021

@mumumu mumumu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

一番乗り!ありがとうございます!

@php-pulls php-pulls closed this in 6f3e29f Jan 14, 2021
php-pulls pushed a commit that referenced this pull request Mar 19, 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.
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.

2 participants