It is as easy to instantiate the class as to remove this useless functions.
所有检测均成功
The build was successful.

这个提交包含在:
Rafal Kupiec 2018-08-15 16:31:28 +02:00
父节点 6f491b398a
当前提交 8ab67084a0
签署人:: belliash
GPG 密钥 ID: 4E829243E0CFE6B4

查看文件

@ -976,12 +976,6 @@ static sxi32 VmEvalChunk(ph7_vm *pVm, ph7_context *pCtx, SyString *pChunk, int i
" public function __toString(){ return (string)$this->value; }"\
" function __construct($v){ $this->value = $v; }"\
"}"\
"function dir(string $path){"\
" return new Directory($path);"\
"}"\
"function Dir(string $path){"\
" return new Directory($path);"\
"}"\
"function scandir(string $directory,int $sort_order = SCANDIR_SORT_ASCENDING)"\
"{"\
" if( func_num_args() < 1 ){ return FALSE; }"\