Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php ternary shorthand

$y = $x ? "true" : "false";
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #ternary #shorthand
ADD COMMENT
Topic
Name
2+6 =