For version beberlei/assert 2.9.6, Assertion::url('http://www.domain.ext'); fails on PHP 7.3.2, while it worked on 7.1.
Any idea what the cause is of this? Does PHP 7.3.2 interpret the regular expression differently?
Is that the reason why the regular expression was changed as mentioned here: #263 and documented here: https://github.com/beberlei/assert/blob/master/CHANGELOG.md#301---2018-07-04
I suppose this might be due to the upgrade to from PCRE to PCRE2 in PHP 7.3...
An upgrade to beberlei/assert 3.2.0 resolved this issue.
Maybe the 2.x versions should require PHP < 7.3. Not sure whether changing that "backwards" is a back practice though 😄