PHP empty array value declaration -
can in way declare array value string, int etc. without adding value it?
for example:
public $arr = array(string);
short answer, no. php weakly typed language , doesn't impose types. closest thing type hints, won't in case.
Comments
Post a Comment