Skip to main content

View Articles

List Articles

PHP Script execution with Shutdown callback

Nicolas - 11-11-2020 21:19 - (0 Reads)

When a page finishes its executions (default hooks in case of a CMS), it is still possible to run some extra code to do some actions.
On a CMS, this is useful when no hook or no override allows this code to run.

One line test in PHP

Nicolas - 30-10-2020 20:19 - (0 Reads)

How to use Ternary operator logic for single line conditions: (condition)? (if true return value) : (if false return value)