File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,4 @@ Thumbs.db
1616.DS_Store
1717
1818# po4a .mo files
19- * .mo
20-
21- # Vale temporary styles
22- .github /styles /Microsoft /
19+ * .mo
Original file line number Diff line number Diff line change @@ -15,6 +15,11 @@ A well-configured PHP environment is important. To get maximum performance:
1515- [ Tune ` realpath() ` cache] ( https://github.com/samdark/realpath_cache_tuner ) .
1616- Make sure [ XDebug] ( https://xdebug.org/ ) isn't installed in the production environment.
1717- Try [ PHP 7 preloading] ( https://wiki.php.net/rfc/preload ) .
18+
19+ ## Optimizing your code <span id =" optimizing-code " ></span >
20+
21+ Beyond environment configuration, there are code-level optimizations that can improve your application's performance:
22+
1823- Use fully qualified function names with leading backslashes to optimize opcache performance.
1924 When calling global functions from within a namespace, PHP first searches in the current namespace
2025 before falling back to the global namespace. Adding a leading backslash (e.g., ` \count() ` instead of ` count() ` )
You can’t perform that action at this time.
0 commit comments