Re: [PHP] IF stream lining
That's already pretty streamlined... On Jul 13, 2011 11:22 PM, Ron Piggott ron.pigg...@actsministries.org wrote: Is there a way to stream line this: if ( ( $val with ) AND ( $val from ) ) { Ron The Verse of the Day “Encouragement from God’s Word” http://www.TheVerseOfTheDay.info
Re: [PHP] IF stream lining
if( $val !== with $val !== from) simple comparison = faster solution... also you want type-safe you could do something like if(!in_array($val, array(from,with))) but its neither elegant nor fast On Jul 14, 2011 12:22 AM, Ron Piggott ron.pigg...@actsministries.org wrote: