turn off frame injection for reflection helpers
commitd14b7efbd05b759996cecfe63ce0c833a18e0730
authorhzhao <hzhao@facebook.com>
Sat, 23 Oct 2010 08:07:13 +0000 (23 01:07 -0700)
committermacvicar <macvicar@facebook.com>
Thu, 28 Oct 2010 19:52:54 +0000 (28 12:52 -0700)
tree85f9a9209e0a7f4b5cf566572a03ff92be79af34
parent958c03a7eaeaf710b49c3c66714e87a5fe3ba547
turn off frame injection for reflection helpers

Summary:
They are artificial.

Test Plan:
get same stacktrace as PHP does,

  <?php
  class A {
    function foo() {
      var_dump(debug_backtrace());
    }
  }
  $obj = new A;
  $a = new ReflectionMethod('a', 'foo');
  $a->invokeArgs($obj, array());

DiffCamp Revision: 173573
Reviewed By: mwilliams
CC: hzhao, mwilliams, hphp-diffs@lists
Tasks:
#421235: [hphpd] hphp_invoke_method() didn't break on file:line

Revert Plan:
OK
bin/license.php
src/idl/reflection.idl.php
src/runtime/ext/profile/extprofile_reflection.h
src/system/gen/php/classes/reflection.cpp
src/system/reflection.inc