Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

what is type-hinting in php

Apparently 'type hinting' in PHP can be defined as
follows: "Type hinting" forces you to only pass objects 
of a particular type. This prevents you from 
passing incompatible values, and creates a standard 
if you're working with a team
Source by mlocati.github.io #
 
PREVIOUS NEXT
Tagged: #php
ADD COMMENT
Topic
Name
1+2 =