close
<?php
$mixed = mb_regex_encoding(
"UTF-8"
? // [string $encoding]
);
$bool = mb_ereg_match (
"a"
, // string $pattern
"some apples"
, // string $string
// [string $option = "msr"]
);
?>
輸出
$mixed = true
$bool = false
$test = mb_ereg_match("a", "some apples"); // returns false
$test = mb_ereg_match("a", "a kiwi"); // returns true
$test = mb_ereg_match(".*a", "some apples"); // returns true
全站熱搜