03.01 logical operator &&,and | |,or xor here only to emphasize a bit with and or OR, remember to add parentheses, otherwise it may be wrong, as for the reason I am not very clear, anyway as far as possible directly with the &&,| | All right, and C is also used in these two. The bitwise operators in the 03.02-bit operator (Bitwise Operators) &,|,^ php are also for integers. Unless the two operators are strings, the conversion of one of them to an integer is not an integer, and if two are strings, the length is the shorter primary (except for the longer-to-be-main), in characters (each character is converted to an integer). It can be understood that the shorter the back of the 0 fill, and & rather with the multiplication, so according to the number of digits to calculate the past is shorter than the main, because after the calculation you have to remove 0. and | is equivalent to the addition operation, therefore, the longer the prevail. The increment string (non-numeric value) of the 03.02.01 string is incremented in the same way as Perl. Using a ring-shaped queue model, if the last letter is a literal or a number, the last word multibyte 1. If it is exceeded, then return to the starting point, such as ' Z ' + 1-' ' A ' 03.03 error suppression operator @ ERROR suppression operator @ is the error message suppressed during the evaluation of an expression. We will describe in detail the 03.04 control structure 03.04.01 If structure the first and the C language. The second type is more:, and endif; as the End if (expr) statement list elseif (expr): statement list else:statement list endif; The switch structure also has two, the second is more switch: and endswitch; switch (expr): Endswitch. The match in switch in PHP is done using = =. 03.05 loop control Structure This is the same as the C language is not discussed.
http://www.bkjia.com/PHPjc/477208.html www.bkjia.com true http://www.bkjia.com/PHPjc/477208.html techarticle 03.01 logical operators, and | |,or XOR here only to emphasize a bit with and or OR, remember to add parentheses, otherwise it may be wrong, for reasons I am not very clear, anyway, as far as possible directly with ...