Home >Backend Development >PHP Tutorial > PHP门类强制转换

PHP门类强制转换

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 12:34:08881browse

PHP类型强制转换?

本帖最后由 u012586110 于 2013-11-02 16:52:31 编辑 http://docs.php.net/manual/zh/language.types.type-juggling.php#language.types.typecasting

(binary) 转换和 b 前缀转换支持为 PHP 5.2.1 新增。 

字符串文字和变量转换为二进制字符串


问题:
1.类型强制转换:(binary) ,是转换为二进制字符串。
   什么是二进制字符串?
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