Place any code in Joomla!
Not only in your articles, but also in categories, modules, components, the head of the HTML page, etc.
You can simply place your custom codes right into your WYSIWYG Editor. The only thing you have to do is surround the code with the Sourcerer plugin tags. Easy peasy!
So with Sourcerer, now you can also use PHP scripts in your content. That opens up a great deal of possibilities.