Update php.md

This commit is contained in:
Dennis Eichhorn 2018-07-31 11:09:37 +02:00 committed by GitHub
parent c50ed087b1
commit 059248ca28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,14 @@ Use `elseif` where possible instead of `else if`.
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
The following functions and (super-) global variables MUST NOT be used.