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

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

WBOY
WBOYOriginal
2016-06-02 11:29:18953browse

php函数

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

}

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

Statement:
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