Hello,
my name is Alessandro Rosa and I'm a PHP developer from Italy.
Is there any chance for you to consider the development of the following
variation of the IF / THEN / ELSE ?
if ( $_a in { 2, 3, 4 } )
where { 2, 3, 4 } is an array of values.
Yes, I know I could supply it by creating an array and passing it to the
in_array() function, but sometimes
it's quite fast to write such an expression above to be evaluated, instead of
creating an array, populating it
then calling in_array for check.
Thank you,
Alessandro Rosa