Mecha CMS

Add extra functionality to the core engine.

Eval Block

Table of Contents
  1. Usage 

Evaluate PHP expression within the page content.

Download Version 2.3.8 Download Development Version

Something looks broken? We accept bounties to fix them faster.

This extension is not to be used on a site with multiple users. Other users may use this block to execute malicious functions to break your system.


echo $date->year; // Output the current year



Why don’t you use a shortcode-like approach?