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?
猪老湿2021-08-04 08:45:10
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