I haven't got a better clarity after a long search about, using keyword public in a __constructor function in a PHP class.
- People saying
__constructoritself is public by default. So I don't have to use mention aspublic. - Will there be no change if I mention or don't as
publicinpublic function __constructorin PHP? - what is the best practice of declaring a
__constructorin PHP? with or without the keywordpublic? - what are the disadvantages or issues that I will face if I don't mention the keyword
publicin-front of apublic function __constructor?