title: IS php same as java in terms of pass by reference?
body: <p>As PHP borrows most of its object oriented features from java. I would like to know whether PHP and java both uses the same concept of pass by value?</p>
  
  <p>I know Java is not pass by reference.Its just that object references are passed by value. How about PHP? Does PHP support pass by reference?</p>