<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Markdown; use Illuminate\Support\Str; class MarkdownUtil { public static function convertToHtml($sqqbp) { goto Ruu6p; wFgKA: return $EOFoR->convertToHtml($sqqbp); goto EQZwc; Ruu6p: if (PHP_VERSION_ID >= 80000) { return Str::of($sqqbp)->markdown(); } goto kpHps; kpHps: $EOFoR = new MarkConverter(array('renderer' => array('soft_break' => '<br />'))); goto wFgKA; EQZwc: } }