Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php ternary shorthand

$y = $x ? "true" : "false";
Source by stitcher.io #
 
PREVIOUS NEXT
Tagged: #php #ternary #shorthand
ADD COMMENT
Topic
Name
1+1 =