PHP Classes

File: examples/testslash.php

Recommend this page to a friend!
  Classes of Jorge Castro   BladeOne   examples/testslash.php   Download  
File: examples/testslash.php
Role: Example script
Content type: text/plain
Description: Example script
Class: BladeOne
Standalone template engine that compiles into PHP
Author: By
Last change: Update of examples/testslash.php
Date: 2 years ago
Size: 527 bytes


Class file image Download
 * Copyright (c) 2016 Jorge Patricio Castro Castillo MIT License.

include "../lib/BladeOne.php";

$blade=new \eftec\bladeone\BladeOne(null,null,\eftec\bladeone\BladeOne::MODE_DEBUG);

try {
, ["var" => "aaa/bbb\\aaa aa%2Fbbb%5Caaa"]);
} catch (
Exception $e) {

echo $blade->run("Test.hello"
    ,["name"=>"hola mundo"