PHP Classes

fast and secure

Recommend this page to a friend!

      Top level forums  >  PHP Specialists  >  General  >  fast and secure  
Subject:fast and secure
Summary:fast and secure::emoty and false == empty
Messages:4
Author:Amol Zore
Date:2011-01-31 15:43:03
Update:2011-02-25 00:24:28
 

  1. fast and secure   Reply   Report abuse  
Picture of Amol Zore Amol Zore - 2011-01-31 18:43:42
All

Which one will be fast and secure from the following two statements

1. empty( $strAdIds ) ? NULL : $strAdIds;
2. ( false == empty( $strServer )) ? $strServer : NULL;

Please reply. :)

There are 3 replies in this thread, which are not being displayed.
Browsing this forum thread replies is available only to premium subscribers.


Go to the premium subscriptions page to learn how to become a premium subscriber and have full access to this forum.