JayBizzle / Crawler-Detect

🕷 CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent
https://crawlerdetect.io
MIT License
1.99k stars 259 forks source link

PHP v7.4 compatibility: $glue and $pieces parameters in reverse order to implode() #368

Closed aedart closed 4 years ago

aedart commented 4 years ago

There is a PHP v7.4 compatibility issue, in the outputTxt() method, found in export.php. Could you please swap $glue and $pieces arguments for the implode() method, so that this package can be used in PHP v7.4?

JayBizzle commented 4 years ago

Will accept a PR for this 👍