title: Passing a variable by reference into a PHP extension
body: <p>I'm writing a PHP extension that takes a reference to a value and alters it.  Example PHP:</p>
  
  <pre><code>$someVal = "input value";
  TestPassRef($someVal);
  // value now changed
  </code></pre>
  
  <p>What's the right approach?</p>