title: Calling overridden method from within overriding method in OO PHP
body: <p>Working in a symfony model, I want to override a function and call the overridden function from within the overriding one, along the lines of</p>
  
  <pre><code>class MyClass extends BaseMyClass {
  
    function setMyProperty($p) {
      parent::setMyProperty($p);
      //do some other stuff
    }
  
  }
  </code></pre>
  
  <p>This is resulting in a segmentation fault. I don't want to alter the parent class - it's been generated by symfony, and may feasibly be overwritten in the future if the model is rebuilt. This seems like something that should be straightforward, but I'm struggling to find the solution.</p>