PHP Killer: Do not do this on your code
Unless you want/need to kill some time… do not do the following on your PHP code, or you will be banging your head against the wall: 1. Use trim() inside empty(): sample: if (!empty(trim($item))) { } work around: $item = trim($item); if (!empty($item)) { } … Continue reading