Home > Backend Development > PHP Tutorial > Calling method within class does not work

Calling method within class does not work

WBOY
Release: 2016-08-25 10:37:19
Original
1234 people have browsed it

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.

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template