Rename Eval.ForbidDynamicCallsToMethCaller
commite303c1f1db950e5800753b1d7f6fb8fc9e9d119a
authorMike Qian <mqian@fb.com>
Tue, 2 Feb 2021 02:23:34 +0000 (1 18:23 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 2 Feb 2021 02:29:42 +0000 (1 18:29 -0800)
treec41fb2a35eae7eb4432ddbe573e33a0ede0781a6
parent70fae59a10b6bdddb57c0c17262119fcd44d101c
Rename Eval.ForbidDynamicCallsToMethCaller

Summary:
* This flag is more analogous to the existing `hhvm.dynamic_class_meth_level` option
* Add documentation
* Default to 1 (warn)

Reviewed By: paulbiss

Differential Revision: D26157161

fbshipit-source-id: 127ef13ea8d6ce2394e47cbb038710b2cd69a497
hphp/runtime/base/runtime-option.h
hphp/system/php/lang/fun.ns.php
hphp/test/slow/dyn-meth-caller-throw.php.hphp_opts
hphp/test/slow/dyn-meth-caller-throw.php.opts
hphp/test/slow/dyn-meth-caller-warn.php.hphp_opts
hphp/test/slow/dyn-meth-caller-warn.php.opts
hphp/test/slow/dyn-meth-caller.php.hphp_opts [new file with mode: 0644]
hphp/test/slow/dyn-meth-caller.php.opts [new file with mode: 0644]