Why php print "b1" in such code -


this question has answer here:

<?php print("a")."b".print("с"); ?> 

result: сab1

why php print "b1" in code

equates to:

  1. print("c").... output value "c" , return value of 1 indicate success
  2. print "a", concatenated "b", concatenated result of print("c") (which "1") giving cab1

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -