close

 

<?php
$mixed = mb_regex_encoding(
"UTF-8"
? // [string $encoding]
);


$i_bool = mb_ereg_search_init(
"Peter is a boy."
, // string $i_string
"[ei]"
// string $i_pattern
);

$bool = mb_ereg_search();
$int = mb_ereg_search_getpos();
?>

結果
$mixed = true
$i_bool = true
$bool = true
$int = 2

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 stockwfj3 的頭像
    stockwfj3

    程式設計@筆記

    stockwfj3 發表在 痞客邦 留言(0) 人氣()