for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Bonfim\Tpl\Tag;
class Statement extends Tag
{
public function __construct()
$search = "/{(\s?)+([\$\w]+)(\s?)+([<>!=\+\-\*\/]+)(\s?)+(.*?)(\s?)+}/is";
Tag::match($search, function($left, $op, $right) {
Tag::replace("<?php $$left $op $right ?>");
});
}