hassan Posted April 3, 2018 Share Posted April 3, 2018 Hi What is the difference between echo and print? (if there is a difference) Link to comment Share on other sites More sharing options...
Larry Posted April 4, 2018 Share Posted April 4, 2018 The only differences are: - print returns a 1 and echo returns nothing (they both print the values regardless) - echo can actually take a number of arguments: echo "blah", $foo, "bar"; For all practical purposes, there's no significant difference between the two. Link to comment Share on other sites More sharing options...
hassan Posted April 4, 2018 Author Share Posted April 4, 2018 Many thanks Link to comment Share on other sites More sharing options...
Recommended Posts