Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php inline if

/* most basic usage */
$var = 5;
$var_is_greater_than_two = ($var > 2 ? true : false); // returns true
 
PREVIOUS NEXT
Tagged: #php #inline
ADD COMMENT
Topic
Name
5+2 =