Home > Backend Development > PHP Tutorial > 函数-在线急求 php 传递值 谢谢啦

函数-在线急求 php 传递值 谢谢啦

WBOY
Release: 2016-06-02 11:29:18
Original
952 people have browsed it

php函数

function number($str)
{
return preg_replace('/\D/s', '', $str);

}

怎么把上面打印的值传递给 $asd ?

Related labels:
source:php.cn
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