Paamayim Nekudotayim Error in PHP

in php •  5 years ago 

If you check if a object property is set with the isset function and like a fool you try to make a comparison in the same isset function scope...

Paamayim Nekudotayim error!

if (isset($foolish->$cat == "cool"){
print "^._.^";
}

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!