Update php.md

This commit is contained in:
Dennis Eichhorn 2018-07-31 08:49:05 +02:00 committed by GitHub
parent 2a8f5b9fe8
commit acb7e74139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,10 @@ Php code embedded into template files SHOULD use the alternative syntax for cont
<?php endif; ?>
```
## Strings
Strings must use single quotes `'` instead of `"` unless double quotes are required.
## Echo
when echoing multiple components, don't concat them but use `,`.
@ -155,4 +159,4 @@ The usage of the following functions SHOULD be avoided and inspected for any kin
* `rmdir()`
* `mkdir()`
* `touch()`
* `unlink()`
* `unlink()`