EllisLab/CodeIgniter — comment on commit 27c80af1dd9b871ab44452a8de22fd9cabaa184c
File: system/core/Config.php line 83
By arekpietrzyk:

My proposition is to write this line like below:

$base_url = empty($_SERVER['HTTPS']) OR strtolower($_SERVER['HTTPS']) === 'off' ? 'http' : 'https';

Two IS NOT comparison less.