Home  >  Article  >  Backend Development  >  php挟制类型转换

php挟制类型转换

WBOY
WBOYOriginal
2016-06-13 12:40:34763browse

php强制类型转换?

1.字符串强制转整型,为什么结果是:0?
2.任何类型,都可以转换成数组?
3.任何类型,都可以转换成对象?

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