4 ms·It accepts strings because PHP does not support type hinting for scalars.by Produce 14y agoIt accepts strings because PHP does not support type hinting for scalars.