Saturday 13 April 2019

What is the name of "::" in PHP?

What we call two semicolon symbol '::' in php used for accessing static properties and methods in PHP along with class name like Cars::$wheels; or Car::car_details();. Does it have a name?

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...