We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 7.x added a lot of different things and changed a lot of behaviors. This issue is tracking the status of PHP 7 implementation in KPHP.
The following emoji will be used to denote the task status:
$a <=> $b
use name\space\{A, B, C as c}
int, float, bool
int, float, bool, array
$class = new class{}
yield ... return 99
yield from func()
define( 'FOO', [1,2] )
?int
void
['key'=>$var] = ['key'=>'ΠΠ½Π°ΡΠ΅Π½ΠΈΠ΅']
list( 'id'=>$id ) = $data
iterable
$string[-1]
catch (First | Second $e)
Closure::fromCallable()
private const
list( &$a )
is_countable()
array_(key|value)_(first|last)()
[ ...$arr ]
??=
299_792
strip_tags( $str, ['a', 'p'] )
__serialize() __unserialize()
array_merge()
public int $id
fn( $x ) => $x
The text was updated successfully, but these errors were encountered:
No branches or pull requests
PHP 7.x added a lot of different things and changed a lot of behaviors.
This issue is tracking the status of PHP 7 implementation in KPHP.
The following emoji will be used to denote the task status:
PHP 7
Added
New syntax
$a <=> $b
(RFC)use name\space\{A, B, C as c}
(RFC)int, float, bool
(RFC)int, float, bool, array
(RFC)$class = new class{}
(RFC) | π¨ Add support for anonymous classesΒ #273yield ... return 99
(RFC) | π¨yield from func()
(RFC) | π¨Other
define( 'FOO', [1,2] )
(RFC)Changed
PHP 7.1
Added
New syntax
?int
(RFC)void
(RFC)['key'=>$var] = ['key'=>'ΠΠ½Π°ΡΠ΅Π½ΠΈΠ΅']
(RFC)list( 'id'=>$id ) = $data
(RFC)iterable
(RFC) | π¨$string[-1]
(RFC)catch (First | Second $e)
(RFC) | π¨Other
Closure::fromCallable()
(RFC)private const
(RFC)PHP 7.2
Added
New syntax
PHP 7.3
Added
New syntax
list( &$a )
(RFC) | π¨Other
is_countable()
(RFC)array_(key|value)_(first|last)()
(RFC && RFC)Changed
PHP 7.4
Added
New syntax
[ ...$arr ]
(RFC)??=
(RFC)299_792
(RFC)Other
strip_tags( $str, ['a', 'p'] )
(RFC)__serialize() __unserialize()
(RFC && RFC)array_merge()
(RFC)Changed
public int $id
(RFC)fn( $x ) => $x
(RFC)The text was updated successfully, but these errors were encountered: