Force of habit. I never code in a procedural way, I always have a class, so I declare method visibility ...
It's for sure a Fatal Error in a procedural code.
I'll edit my snippet in consequence
Okay I though it was a new language feature haha.
I didn't found any use case of this function in PHP before but now I do thanks to your take at the challenge. Well done btw!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Force of habit.
I never code in a procedural way, I always have a class, so I declare method visibility ...
It's for sure a Fatal Error in a procedural code.
I'll edit my snippet in consequence
Okay I though it was a new language feature haha.
I didn't found any use case of this function in PHP before but now I do thanks to your take at the challenge. Well done btw!