bcosca / fatfree

A powerful yet easy-to-use PHP micro-framework designed to help you build dynamic and robust Web applications - fast!
2.66k stars 446 forks source link

Template::parse problem with PCRE2 in PHP 7.3 #1133

Closed jimwins closed 5 years ago

jimwins commented 5 years ago

The new PCRE2 engine in PHP 7.3 is more strict about the syntax of character classes, so "[\w-.:@!]" in preg_match() call on line 267 of lib/template.php needs to be rewritten to "[-\w.:@!]".

ikkez commented 5 years ago

duplicate, https://github.com/bcosca/fatfree-core/pull/255 & https://github.com/bcosca/fatfree-core/issues/265