在UEditor里通过语法选择php,发布到网页上,无法正确高亮下面这些php代码,谁能找出最根本的问题在哪里?
Ueditor到‘解密字符串’那里, * @return strin就出错了。。。。 最后一个g都出不来了
<code><?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- // | Author: liu21st <liu21st@gmail.com> // +---------------------------------------------------------------------- namespace Think\Crypt\Driver; /** * Crypt 加密实现类 * @category ORG * @package ORG * @subpackage Crypt * @author liu21st <liu21st> */ class Crypt { /** * 加密字符串 * @param string $str 字符串 * @param string $key 加密key * @param integer $expire 有效期(秒) * @return string */ public static function encrypt($str,$key,$expire=0){ $expire = sprintf('%010d', $expire ? $expire + time():0); $r = md5($key); $c=0; $v = ""; $str = $expire.$str; $len = strlen($str); $l = strlen($r); for ($i=0;$i 0 && $expire </liu21st></code>
在UEditor里通过语法选择php,发布到网页上,无法正确高亮下面这些php代码,谁能找出最根本的问题在哪里?
Ueditor到‘解密字符串’那里, * @return strin就出错了。。。。 最后一个g都出不来了
<code><?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- // | Author: liu21st <liu21st@gmail.com> // +---------------------------------------------------------------------- namespace Think\Crypt\Driver; /** * Crypt 加密实现类 * @category ORG * @package ORG * @subpackage Crypt * @author liu21st <liu21st> */ class Crypt { /** * 加密字符串 * @param string $str 字符串 * @param string $key 加密key * @param integer $expire 有效期(秒) * @return string */ public static function encrypt($str,$key,$expire=0){ $expire = sprintf('%010d', $expire ? $expire + time():0); $r = md5($key); $c=0; $v = ""; $str = $expire.$str; $len = strlen($str); $l = strlen($r); for ($i=0;$i 0 && $expire </liu21st></code>