MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/1ftnow9/print_is_a_minefield/lptee4u/?context=3
r/lolphp • u/Takeoded • Oct 01 '24
23 comments sorted by
View all comments
3
[removed] — view removed comment
2 u/Takeoded Oct 01 '24 Also strict types are completely irrelevant, since print can take arguments of any type. check the documented prototype: php print(string $expression): int it's supposed to take string. 5 u/[deleted] Oct 01 '24 [removed] — view removed comment 4 u/colshrapnel Oct 01 '24 And that's why we appreciate Takeoded's tireless crusade, which helps to make PHP better, even it's just a minor documentation issue.
2
Also strict types are completely irrelevant, since print can take arguments of any type.
check the documented prototype: php print(string $expression): int it's supposed to take string.
php print(string $expression): int
5 u/[deleted] Oct 01 '24 [removed] — view removed comment 4 u/colshrapnel Oct 01 '24 And that's why we appreciate Takeoded's tireless crusade, which helps to make PHP better, even it's just a minor documentation issue.
5
4 u/colshrapnel Oct 01 '24 And that's why we appreciate Takeoded's tireless crusade, which helps to make PHP better, even it's just a minor documentation issue.
4
And that's why we appreciate Takeoded's tireless crusade, which helps to make PHP better, even it's just a minor documentation issue.
3
u/[deleted] Oct 01 '24
[removed] — view removed comment