I want to write a PHP code snippet in the question or answer. I searched that but Stack Overflow can insert only HTML, CSS, JavaScript snippet code.
How can I insert a PHP code snippet like below?
JavaScript snippet example:
console.log('hello world');