Skip to content

Conversation

jlherren
Copy link
Contributor

The most useful case here is that it returns string&numeric for strval(rand()).

@ondrejmirtes
Copy link
Member

Perfect, thank you! We could do the same thing also for intval(), floatval(), doubleval(), boolval()...

@ondrejmirtes ondrejmirtes merged commit 5322588 into phpstan:master Jul 1, 2021
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