Home  >  Article  >  Backend Development  >  异构编程-php中字符变量 异或 '1'^'2' 的值

异构编程-php中字符变量 异或 '1'^'2' 的值

WBOY
WBOYOriginal
2016-06-02 11:32:241007browse

异构编程php

php中字符变量 异或 $a = '1'^'2' 的值 ?

在c语言中 值为3 在php执行后 var_dump($a)后发现是string ""类型 ,其实应该是有值的,请问下,运行的结果到底是什么

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