Home  >  Article  >  Backend Development  >  Calling method within class does not work

Calling method within class does not work

WBOY
WBOYOriginal
2016-08-25 10:37:191166browse

Calling method within class does not work

Calling method within class does not work

Calling method within class does not work

Why is this function not executed and no error reported? This code seems to be directly bypassed and the subsequent output "bbbbbb"

Reply content:

Calling method within class does not work

Calling method within class does not work

Calling method within class does not work

Why is this function not executed and no error reported? This code seems to be directly bypassed and the subsequent output "bbbbbb"

Maybe the check_user method in your screenshot was not executed at all? Your code looks like it belongs to ecshop or something like that. I guess you found the wrong file.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn