mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-13 09:37:21 +01:00
21 lines
275 B
Plaintext
21 lines
275 B
Plaintext
Class properties
|
|
-----
|
|
<?php
|
|
|
|
class A
|
|
{
|
|
public $a;
|
|
public string $b;
|
|
protected static ?float $c = 5.0;
|
|
private static ?self $d;
|
|
}
|
|
-----
|
|
!!php7
|
|
class A
|
|
{
|
|
public $a;
|
|
public string $b;
|
|
protected static ?float $c = 5.0;
|
|
private static ?self $d;
|
|
}
|