How do PHP's public static functions receive passed values?
P粉574081974
P粉574081974 2023-08-02 19:00:47
0
0
340

The code of info.php on the first page of PHP: <?phprequire_once 'messinfo.php';$infoa = 'Hello';$infob= 'Hello';$res = mess($infoa,$ infob); receive the passed value PHP second page messageinfo.php code: public static function mess($infoa,$infob) {//I can’t receive the data of $infoa, $infob here} Why is this? What should I do to receive the passed value? Xiaobai did not hesitate to teach me.



P粉574081974
P粉574081974

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!