本文整理汇总了PHP中_strrev函数的典型用法代码示例。如果您正苦于以下问题:PHP _strrev函数的具体用法?PHP _strrev怎么用?PHP _strrev使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了_strrev函数的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: strrev
/**
* Reverses a UTF-8 string. This is a UTF8-aware version of [strrev](http://php.net/strrev).
*
* $str = UTF8::strrev($str);
*
* @author Harry Fuecks <hfuecks@gmail.com>
* @param string string to be reversed
* @return string
*/
public static function strrev($str)
{
if (!isset(self::$called[__FUNCTION__])) {
require SYSPATH . 'utf8' . DIRECTORY_SEPARATOR . __FUNCTION__ . EXT;
// Function has been called
self::$called[__FUNCTION__] = TRUE;
}
return _strrev($str);
}
示例2: strrev
/**
* Reverses a UTF-8 string.
* @see http://php.net/strrev
*
* @author Harry Fuecks <hfuecks@gmail.com>
*
* @param string string to be reversed
* @return string
*/
public static function strrev($str)
{
if (!isset(self::$called[__FUNCTION__])) {
require SYSPATH . 'core/utf8/' . __FUNCTION__ . EXT;
// Function has been called
self::$called[__FUNCTION__] = TRUE;
}
return _strrev($str);
}
示例3: strrev
public static function strrev($str)
{
if (!isset(UTF8::$called[__FUNCTION__])) {
require JsonApiApplication::find_file("utf8", __FUNCTION__);
// Function has been called
UTF8::$called[__FUNCTION__] = TRUE;
}
return _strrev($str);
}
示例4: strrev
/**
* Reverses a UTF-8 string.
* @see http://php.net/strrev
*
* @author Harry Fuecks <hfuecks@gmail.com>
*
* @param string string to be reversed
* @return string
*/
public static function strrev($str)
{
require_once dirname(__FILE__) . '/' . __FUNCTION__ . '.php';
return _strrev($str);
}
示例5: strrev
/**
* Reverses a UTF-8 string. This is a UTF8-aware version of [strrev](http://php.net/strrev).
*
* $str = UTF8::strrev($str);
*
* @author Harry Fuecks <hfuecks@gmail.com>
* @param string $str string to be reversed
* @return string
*/
public static function strrev($str)
{
if (!isset(UTF8::$called[__FUNCTION__])) {
require Kohana::find_file('utf8', __FUNCTION__);
// Function has been called
UTF8::$called[__FUNCTION__] = TRUE;
}
return _strrev($str);
}
示例6: strrev
/**
* Reverses a UTF-8 string
*
* This is a UTF8-aware version of [strrev](http://php.net/strrev).
*
* Example:
* ~~~
* $str = UTF8::strrev($str);
* ~~~
*
* @author Harry Fuecks <hfuecks@gmail.com>
*
* @param string $str String to be reversed
*
* @return string
*
* @uses Kohana::find_file
*/
public static function strrev($str)
{
UTF8::_load(__FUNCTION__);
return _strrev($str);
}
示例7: strrev
/**
* Reverses a UTF-8 string. This is a UTF8-aware version of [strrev](http://php.net/strrev).
*
* $str = UTF8::strrev($str);
*
* @author Harry Fuecks <hfuecks@gmail.com>
* @param string $str string to be reversed
* @return string
*/
public static function strrev($str)
{
if (!isset(UTF8::$called[__FUNCTION__])) {
require Phalcana::$di->get('fs')->findFile('utf8', __FUNCTION__);
// Function has been called
UTF8::$called[__FUNCTION__] = true;
}
return _strrev($str);
}