tp5.0|php8.0 Write scheduled tasks on the window system and report errors when executing
暗夜蝶梦
暗夜蝶梦 2021-07-31 15:43:18
0
1
990

I am learning PHP recently. The PHP version is 8.0. I use the TP5 framework. My computer is a window system. I want to learn how to write scheduled tasks, but I find that an error occurs during execution. The error is as follows. Required parameter $length follows optional parameter $start, is it because of the PHP version? Please tell me, if I don’t change the version of php, how can I modify it to make it run?

1111.png

2222.png

3333.png

暗夜蝶梦
暗夜蝶梦

reply all (1)
Peter_Zhu

According to the error message, the parameters are incorrect. Please read the official manual or check the tp source code to see the parameter description

    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!