Don't make me count the warts on PHP. 😝 In the race to stupid, ugly and narrow applications, very few languages can beat PHP. 😬
Well you can pass a null to method in PHP also. php.net/manual/en/migration71.new-...
True. With an important note that the param has to be explicitly defined as nullable.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.