This commit is contained in:
1 parent
f7c532a648
commit
640bd67556
5801 files changed
+484532
-55857
No files matched your search
+12
-1
@@ -43,7 +43,7 @@ class PhpVersion {
|
||||
* if it is still under development.
|
||||
*/
|
||||
public static function getNewestSupported(): self {
|
||||
return self::fromComponents(8, 4);
|
||||
return self::fromComponents(8, 5);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -161,4 +161,15 @@ class PhpVersion {
|
||||
public function supportsUnicodeEscapes(): bool {
|
||||
return $this->id >= 70000;
|
||||
}
|
||||
|
||||
/*
|
||||
* Whether this version supports attributes.
|
||||
*/
|
||||
public function supportsAttributes(): bool {
|
||||
return $this->id >= 80000;
|
||||
}
|
||||
|
||||
public function supportsNewDereferenceWithoutParentheses(): bool {
|
||||
return $this->id >= 80400;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user