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

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

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