What is the official name for the php string type?
Is it 'string' like c#, or 'String' like Java, or either?
I could not find it in http://php.net/manual/en/language.types.string.php
I want to use it to strict type my function
function getImageName() : string;
or
function getImageName() : String;
STRING
works as well asstring
orsTrInG
. But I'd always use the lower variant (string
). This is the preferred way to dot it. – Bagging