Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Multiple Ternary operator in php

(something) ? 'foo' : ((somethingElse) ? 'bar' : ((bla) ? 'pool' : ((xxxxx) ? 'coffe' : '')));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Multiple #Ternary #operator #php
ADD COMMENT
Topic
Name
5+9 =