Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions general/development/policies/codingstyle/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2073,6 +2073,7 @@ PHP includes multiple questionable features that are highly discouraged because
1. do not use `preg_replace()` with /e modifier - use callbacks in order to prevent unintended PHP execution.
1. do not use backticks for shell command execution.
1. do not use `goto`, neither the operator neither labels - use other programming techniques to control the execution flow.
1. do not use `unserialize`, can lead to unintended PHP execution if not used properly with user supplied data - there are better methods of data exchange.

## Policy about coding-style only fixes

Expand Down