erm .... how long is a line fragment?
FWIW, I first installed a copy of dokuwiki to use as a very simple CMS for some static content, and then found that I could easily insert PHP code into it; I usually maintain the PHP file elsewhere and:
<php> include('path/to/some/code.php'); </php>
(php tags are Dokuwiki tags for marking PHP code). Since then, I have used it as the basis for some very complex applications.
Compared to the other CMS I worked with, you need to configure, configure, and add your own code.
And unlike most frameworks, it provides authentication, navigation management and account management tools, as well as templates, SEO, version control ....
source share