Home  >  Article  >  Backend Development  >  PHP返回值截取,该如何解决

PHP返回值截取,该如何解决

WBOY
WBOYOriginal
2016-06-13 12:38:20828browse

PHP返回值截取
 $return= file_get_contents($url); //或得返回值

 $return的返回值为sms&stat=100&remain=5

 我只想截取remain 键值“5” 怎么处理!

php return
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