jae-jae / QueryList

:spider: The progressive PHP crawler framework! 优雅的渐进式PHP采集框架。
https://querylist.cc
2.65k stars 441 forks source link

php 7.2.3 下ERROR #32

Closed kency closed 5 years ago

kency commented 6 years ago

composer之后,在laravel里,直接用文档示例 use .... ..... $ql = QueryList::get..... 报错"Parse error: syntax error, unexpected '$ql' (T_VARIABLE), expecting function (T_FUNCTION) or const (T_CONST)"

php 7.2.3 开发模式

jae-jae commented 6 years ago

看错误提示应该是你用法不对,贴出代码看看。

kency commented 6 years ago

也有可能,降到7.1.15可以了,忘了当时代码怎么写的了