Why does thinkphp5 always report an error when uploading multiple files using the multiple attribute?

Why does thinkphp5 always report errors when uploading multiple files using the multiple attribute?

error message:

HTML Code:

<input name="file" type="file" multiple/> 
<input type="submit" value="" class="btn btn-primary">

php Code:

if($files = request()->file("file"))          
            foreach ($files as $file) 
            {         
            $info = $file->move(ROOT_PATH . "public" . DS ."static","");
            if($info){
                $path_parts = pathinfo(ROOT_PATH . "public" . DS . "static" ."\\". $info->getFilename());
                //
                $type=$path_parts["extension"];
                $name=$path_parts["filename"];
                $size=(filesize(ROOT_PATH . "public" . DS . "static" ."\\". $info->getFilename())>>10)."KB";
                $data=["name"=>$name,"type"=>$type,"size"=>$size];
                Db::table("doc")->insert($data);

                $this->success("");
            }else{
                //
                $this->error($file->getError());    
            }
            } 

I am looking at the thinkphp5 manual, why does the move function always report an error?

The multiple files of

tp5 do not refer to this < input name= "file" type= "file" multiple/ >.
refers to
< input type= "file" name= "file []" / >

< input type= "file" name= "file []" / >

< input type= "file" name= "file []" / >


for an input, in addition to adding multiple attribute, name

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b30bde-34105.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b30bde-34105.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?