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.0373 Downloads
v2.3.8291 Downloads
v2.3.7232 Downloads
v2.3.6178 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