I’m a intermediate C++ programmer and know that you can pass a constant reference as a parameter in order to prevent editing to the actual variable. I was wondering if I could do this in PHP?
I’m a intermediate C++ programmer and know that you can pass a constant reference
Share
No, there is no equivalent to C++’s
constqualifier in PHP.