当前位置:网站首页>PHP inherited in class return does not work

PHP inherited in class return does not work

2022-06-26 04:20:00 Grow slowly 1688

problem :

stay PHP in , Used within the integrated class return Invalid , Will continue to run , Cannot terminate .

solve :

To return data, you can echo In the form of ,return Invalid ;
To achieve return End the effect of subsequent operations , Can pass die() 、exit() To achieve the goal ;

原网站

版权声明
本文为[Grow slowly 1688]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202180533541127.html