Juliette
Juliette
> Passing a non-string needle to string search functions is deprecated. In the future the needle will be interpreted as a string instead of an ASCII codepoint. > Depending on...
> `mb_ereg_*()` functions now support named captures. Matching functions like `mb_ereg()` will now return named captures both using their group number and their name, similar to PCRE: >```php > mb_ereg('(?\w+)',...
> The -–with-password-argon2[=dir] configure argument now provides support for both Argon2i and Argon2id hashes in the password_hash(), password_verify(), password_get_info(), and password_needs_rehash() functions. Passwords may be hashed and verified using the...
> In PHP, static properties are shared between inheriting classes, unless the static property is explicitly overridden in a child class. However, due to an implementation artifact it was possible...
From a though exchange I had with @gsherwood about why PHPCompatibility currently uses it's own test framework: > @gsherwood: > I wonder if a combination of getTestFiles() and getCliValues() could...
> Unquoted strings that are non-existent global constants are taken to be strings of themselves. This behaviour used to emit an E_NOTICE, but will now emit an E_WARNING. In the...
I've been thinking about this for a while, but looks like I never opened an issue for this before. By default, PHPCS outputs the `full` report. Aside from that, it...
> Parameter types from overridden methods and from interface implementations may now be omitted. This is still in compliance with LSP, since parameters types are contravariant. Ref: http://php.net/manual/en/migration72.new-features.php#migration72.new-features.param-type-widening > It...
> Abstract methods can now be overridden when an abstract class extends another abstract class. Ref: http://php.net/manual/en/migration72.new-features.php#migration72.new-features.abstract-method-overriding > It is now allowed to override an abstract method with another abstract...
As per the comments in #545 / #544: Some functions/parameters/extensions/other features are added/removed in several different PHP versions, like the OCI functions discussed in #545, which were added in PHP...