Joined January 2013
·
Posted to
php frameworks
over 1 year
ago
Is lavarel better than symphony2 or codeigniter? A lot of static calls makes me cry.
Achievements
8 Karma
0 Total ProTip Views
Charity
Fork and commit to someone's open source project in need
This is different functions and you are using them wrong. You need to use isset() when you aren't sure variable or key is setted. Otherwise it makes notice error (I don't recomend to disable notices - this is a good sign about problems in code). If you are sure variable/key is setted and need to verify empty that or not - use empty() or this construction:
if (!!$var){
//not empty
}