2017-02-01 01:22:05 +01:00
|
|
|
<?php
|
|
|
|
|
2019-03-25 05:07:32 +01:00
|
|
|
const ROOT_CONST_CONSTANT = 5;
|
|
|
|
define('ROOT_DEFINE_CONSTANT', 10);
|
|
|
|
|
2019-03-23 19:27:54 +01:00
|
|
|
class SystemClass
|
|
|
|
{
|
2017-02-01 01:22:05 +01:00
|
|
|
const HELLO = 'hello';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param int $a
|
|
|
|
* @param string $b
|
2019-03-23 19:27:54 +01:00
|
|
|
*
|
2017-02-01 01:22:05 +01:00
|
|
|
*/
|
2020-09-12 17:24:05 +02:00
|
|
|
public function foo($a, $b): string
|
2019-03-23 19:27:54 +01:00
|
|
|
{
|
|
|
|
}
|
2017-02-01 01:22:05 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @param int $a
|
|
|
|
* @param string $b
|
2019-03-23 19:27:54 +01:00
|
|
|
*
|
2017-02-01 01:22:05 +01:00
|
|
|
*/
|
2020-09-12 17:24:05 +02:00
|
|
|
public static function bar($a, $b): string
|
2019-03-23 19:27:54 +01:00
|
|
|
{
|
|
|
|
}
|
2017-02-01 01:22:05 +01:00
|
|
|
}
|