1

I have this line of code that seems to be giving me the Out of Memory error on PHP.

 //Gives OOM when $list[0] is undeclared
 if(isset($list[0]) == false) { $message = 'Variable is not set. Unable to validate variable'; }

May I know if there's a way to check if a variable is undeclared and why is isset giving me an Out of Memory error?

RiggsFolly
  • 89,708
  • 20
  • 100
  • 143
toffee.beanns
  • 425
  • 5
  • 17

0 Answers0