<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Core\Util; use Illuminate\Support\Facades\View; class RenderUtil { public static function view($r7m3R, $EdQjV = array()) { return View::make($r7m3R, $EdQjV)->render(); } public static function viewScript($r7m3R, $EdQjV = array()) { goto HhITl; HhITl: $rFmqf = trim(self::view($r7m3R, $EdQjV)); goto gKkDf; gKkDf: $rFmqf = preg_replace('/^<script>/', '', $rFmqf); goto eKkJg; eKkJg: $rFmqf = preg_replace('/<\\/script>$/', '', $rFmqf); goto LTHHX; LTHHX: return trim($rFmqf); goto c2ZSi; c2ZSi: } }