Skip to content

Fix ini_set() function signature#63

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
cs278:ini_set-string
Dec 26, 2019
Merged

Fix ini_set() function signature#63
ondrejmirtes merged 1 commit intophpstan:masterfrom
cs278:ini_set-string

Conversation

@cs278
Copy link
Copy Markdown
Contributor

@cs278 cs278 commented Dec 20, 2019

The 2nd argument to ini_set() has always been a string as far as I can tell, the source code defines the signature as ini_set(string varname, string newvalue) for 20 years.

https://phpstan.org/r/963da1ef-6501-4b22-9494-f363d4b35b42
https://3v4l.org/F4SLo

@ondrejmirtes
Copy link
Copy Markdown
Member

I agree :) Thank you!

@ondrejmirtes ondrejmirtes merged commit 136bd72 into phpstan:master Dec 26, 2019
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