-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 8 #290
Labels
PHP8
PHP8 feature
Comments
This was referenced Sep 6, 2021
This was referenced Sep 14, 2021
This was referenced Feb 12, 2022
quasilyte
added a commit
that referenced
this issue
Aug 9, 2022
This function works like `array<>::is_pseudo_vector`, but also includes a fast path for arrays that are real vectors. In the end, it behaves like php8 `array_is_list` function, hence it has the same name. Refs #290
quasilyte
added a commit
that referenced
this issue
Aug 9, 2022
This function works like `array<>::is_pseudo_vector`, but also includes a fast path for arrays that are real vectors. In the end, it behaves like php8 `array_is_list` function, hence it has the same name. Refs #290
quasilyte
added a commit
that referenced
this issue
Aug 11, 2022
This function works like `array<>::is_pseudo_vector`, but also includes a fast path for arrays that are real vectors. In the end, it behaves like php8 `array_is_list` function, hence it has the same name. Refs #290
quasilyte
added a commit
that referenced
this issue
Aug 11, 2022
This function works like `array<>::is_pseudo_vector`, but also includes a fast path for arrays that are real vectors. In the end, it behaves like php8 `array_is_list` function, hence it has the same name. Refs #290
This was referenced Jan 16, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PHP 8.x added a lot of different things and changed a lot of behaviors.
This issue is tracking the status of PHP 8 implementation in KPHP.
The following emoji will be used to denote the task status:
PHP 8.0
Added
New syntax
nullsafe
operator (?->
) (RFC) 🔆 | 🔨 [php8] Nullsafe operator implementation #686static
return typehint (RFC)match
expression (RFC) 🔆 | 🔨match
expression #303 Implementation ofmatch
expression #724throw
can be used as an expression (RFC) 🔅catch
without variable (RFC) | allowedcatch
without variable #309Other
Stringable
interface (RFC) 🔅str_starts_with
andstr_ends_with
(RFC) 🔅str_contains
(RFC) 🔅Changed
new
/instanceof
(RFC)::class
on object (RFC) 🔅Removed
Remove
(real)
cast (without separate RFC) 🔺Remove
(unset)
cast (without separate RFC) 🔺Remove
{}
access (without separate RFC) 🔺PHP 8.1
Added
New syntax
readonly
modifier support for properties #307never
type (RFC) | added support fornever
type #337enum
#824Other
array_is_list(array $array): bool
(RFC)Changed
PHP 8.2
Added
New syntax
Other
FILTER_FLAG_GLOBAL_RANGE
Changed
DateTime::createFrom(Im|M)utable
return type changed fromDateTime
tostatic
strtolower()
,strtoupper()
,stristr()
,stripos()
,strripos()
,lcfirst()
,ucfirst()
,ucwords()
, andstr_ireplace()
are no longer locale-sensitivestr_split()
returns an empty array for an empty string now$callable()
syntax (but are accepted bycall_user_func()
) are deprecated:self::method
parent::method
"static::method"
["self", "method"]
["parent", "method"]
["static", "method"]
["Foo", "Bar::method"]
[new Foo, "Bar::method"]
The text was updated successfully, but these errors were encountered: