Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php ternary

$result = $condition ? 'foo' : 'bar';
Source by stitcher.io #
 
PREVIOUS NEXT
Tagged: #php #ternary
ADD COMMENT
Topic
Name
2+3 =