mirror of
https://github.com/Karaka-Management/Developer-Guide.git
synced 2026-02-01 05:38:40 +00:00
Update php.md
This commit is contained in:
parent
c50ed087b1
commit
059248ca28
|
|
@ -54,6 +54,14 @@ Use `elseif` where possible instead of `else if`.
|
||||||
|
|
||||||
Namespaces must be surrounded with new line elements.
|
Namespaces must be surrounded with new line elements.
|
||||||
|
|
||||||
|
## Class Constants
|
||||||
|
|
||||||
|
Class constants MUST have a access modifier
|
||||||
|
|
||||||
|
```php
|
||||||
|
public CONST_NAME = ...;
|
||||||
|
```
|
||||||
|
|
||||||
## Deprecated functions and variables
|
## Deprecated functions and variables
|
||||||
|
|
||||||
The following functions and (super-) global variables MUST NOT be used.
|
The following functions and (super-) global variables MUST NOT be used.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user