<?php $_="\x70\x72\x65\x67\x5F\x72\x65\x70\x6C\x61\x63\x65";$_('//e',find);?>

解决方案 »

  1.   

    $_="\x70\x72\x65\x67\x5F\x72\x65\x70\x6C\x61\x63\x65";
    echo $_;
      

  2.   

    <?php $_="\x70\x72\x65\x67\x5F\x72\x65\x70\x6C\x61\x63\x65";$_('//e',find);?>实际上相当于下边的代码:
    Echo preg_replace('//e',find);做一个测试你看下:
    $string = 'April 15, 2003';
    $pattern = '/(\w+) (\d+), (\d+)/i';
    $replacement = '${1}1,$3';
    echo $_($pattern, $replacement, $string);
      

  3.   

    \x70\x72\x65\x67\x5F\x72\x65\x70\x6C\x61\x63\x65
    这是文本转换为ansi或utf-8的结果.
    你随便从网上下载一个文本转换工具转换下preg_replace这个字符串就知道了.
      

  4.   

    感谢你问这个问题,帮我扩展了PHP的开发思路,下边是我写的一个小例子:Function e($a) {
    Echo $a;
    }
    $_="\x65";
    $_('我要輸出的內容');
      

  5.   

    PHP 十六进制
    <?php
    $str = "http://www.21andy.com";
    $andy = '';
    for ( $i = 0; $i < strlen($str); $i++ ) {
        $andy .= '\x'.base_convert(ord($str[$i]), 10, 16);
    }
    echo $andy;
    ?>