Answer the question
In order to leave comments, you need to log in
Why is code execution interrupted?
Why is the execution of the method interrupted?
It's just that if like this, then he doesn't care about such an index or not, he executes the code to the end.
At me already simply burns wildly, I do not want to mold a heap of if'ov. Help pliz
Answer the question
In order to leave comments, you need to log in
Use the tools of the framework to "not sculpt a bunch of ifs".
$user = array_get(unserialize($session), 'user');
$userId = array_get($user, 'id');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question