Home > Backend Development > PHP Tutorial > php 的正则中结束符 $ 问题

php 的正则中结束符 $ 问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-02 11:27:32
Original
1449 people have browsed it

正则php

$str= 'abc
def
ijk' ;
preg_match('/f$/m',$str,$arr);
为什么没有结果呢?修正符m不是把字符串看做多行吗

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template