Question: [php] <? Php $ a = 3; $ B = 5; $ c = $ a> $ B? 2: 4; echo $ d = $ a <$ c;/* analysis why the result is 1 */echo $ d; echo gettype ($ d); echo var_dump ($ d ); /* example 2 */if ('abc' = 0) echo 'yes'; else echo 'no';/* example 3 the result $ h = 10, $ g = 10; */$ h = + $ g = 10; echo $ h, "$ g";/* operator priority here */?> Are you confused about the results !? As a weak language, php allows mixed operations (similar to VbScript) on different types of data. The PHP interpretation engine automatically performs type conversion. Attention is required. Let's recall the definition and usage of the PHP echo () function in the manual. The echo () function outputs one or more strings. The description of the echo (strings) parameter is required. One or more strings to be sent to the output. Note: echo () is actually not a function, so you do not need to use parentheses for it. However, if you want to pass one or more parameters to echo (), a parsing error occurs when brackets are used. The echo () function can be used as echo ('...') or echo '...'. The echo operand type should be string type. For detailed usage, see the http://www.w3school.com.cn/php/func_string_echo.asp in order to better understand the php Data type conversion, to understand the complexity of the computation results, please remember the following points: 1: note the difference between echo and print functions, such as: 1) echo "123 ". print ("abc"); // The syntax is correct, but the output is not 123abc, but abc1231. // The reason is that the print () function is first executed to output abc, connect "123" to the return value of the function 1 print "abc ". echo ('ooo'); // echo ('ooo') will cause Parse error: syntax error 2) and echo () functions can use simplified syntax. <? = '...'?> For example, [php]