Mecha CMS

Add extra functionality to the core engine.

Eval Block

Table of Contents
  1. Usage 

Evaluate PHP expression within the page content.

Download Stable Version Download Development Version

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

v2.4.032 Downloads
v2.3.8120 Downloads
v2.3.764 Downloads
v2.3.612 Downloads

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