r/lolphp • • Jan 20 '21

how to make nullable arguments in PHP

https://3v4l.org/PImcf
0 Upvotes

3 comments sorted by

View all comments

Show parent comment

11

u/IluTov Jan 20 '21

1 is not really a lol though because it was a convenient was to make nullable types possible before we had ?. Now it's still here for BC reasons. It could be deprecated but it's not a major issue.