- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
php运算符学习(PHP operator learning)
php运算符学习(PHP operator learning)
1 priority issues: some anomaly companies especially like to test this. From top to bottom, from high to low.
Unconjugated NEW
Left join
Non binding + + -
Non union ~ ~ - (int) (float) (string) (array) (object) (@) @
Left associative * /%
Left + + -
Left bound
= = non binding
Non binding = = = = = =! = =!
Left join
Left associative ^
Left with |
Left
Left with ||
Left associative?:
The right combination of = + = - = * = / =. = = = = ^ = |=
Left associative and
Left associative XOR
Left associative or
Left associative,
Although! Ratio = high priority, PHP still allows expressions similar to the following: if ($a) = foo (!), in this case (foo) output is assigned to $a.
The 2 arithmetic operator (section of the mathematical function of the reference manual)
A division (/) will always return the float, even if the two operand is an integer (or converted by a string as integer).
B takes modulo $a% $b, and when $a is negative, the result is negative.
3 assignment operator
The return value of the a assignment operation is the value of the variable on the left of = . For example, the value of $a=5 is 5. $b= ($a=5) and the significance of this formula is the value assigned to $b
The b pays attention to the assignment operation and copies the values of the original variables into the new variables (values, values, etc.), so changing one of them does not affect the other. This is also suitable for copying some values in very dense loops, such as large arrays.
C reference assignment: support reference assignment from PHP 4, with $var = $othervar; syntax, reference assignment means two variables all point to the same data, without any data copy. For more information about references, see the references.
4 bit operator
$a$b And (bit by bit) will set the 1 of both $a and $b to 1.
$a|$b Or (bitwise OR) will set the 1 bit in $a or $b to 1.
$a^$b Xor (bitwise XOR) will set the different bits in $a and $b to 1.
~$a Not (bit by bit) sets the bit of
您可能关注的文档
- 13春学期《审计学》在线作业3(13 spring semester auditing online homework 3).doc
- 13魔的修机功略(13 magic repair machine at).doc
- 14春消费者心理与行为3(14 spring consumer psychology and behavior 3).doc
- 150个表白的话(150 words of confession).doc
- 15种创新融资策略(15 innovative financing strategies).doc
- 15种爸爸和宝宝玩的专属游戏盘点(15 dad and baby play exclusive game inventory).doc
- 16个优先反应原理(16 principles of priority reaction).doc
- 16用sql语句进行以下查询查询外汇账户表中的日元信息(16 use the SQL statement for the following query query the yen information in the foreign exchange account table).doc
- 16个经典面试题回答思路(16 classic interview questions to answer ideas).doc
- 17-18世纪欧洲的中国风设计(Design of Chinese style in Europe in the 17-18 Century).doc
- php面向对象技术(全面讲解)(PHP object-oriented technology (comprehensive explanation)).doc
- pixar动画工作室(Pixar Animation Studio).doc
- plsql开发中动态sql的使用方法(How to use dynamic SQL in PLSQL development).doc
- plu(PLU).doc
- poj算法题目列表(POJ algorithm title list).doc
- powerdesigner逆向工程(PowerDesigner reverse engineering).doc
- plc机型的选择步骤与原则说明(The selection steps and principles of the PLC model are described).doc
- pppoe报文(PPPoE message).doc
- pes2011操作(PES2011 operation).doc
- premiere各项参数设置(Premiere parameter settings).doc
原创力文档


文档评论(0)