Replace usage of fun for testing param coercion with new intrinsic.
commitc1ac9431861d5e2333c50c4771e96f46e1a3f915
authorAlexey Toptygin <alexeyt@fb.com>
Tue, 23 Oct 2018 05:12:28 +0000 (22 22:12 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 23 Oct 2018 05:14:49 +0000 (22 22:14 -0700)
treee213827639749aa642c8f442ab924e5459d4d8df
parent0bae2f71eabd8f5feec0333831647071c0311df9
Replace usage of fun for testing param coercion with new intrinsic.

Summary: We don't have fun() any more, but I needed a builtin like it to test the VerifyParamFail fixes. Make a new intrinsic in __hhvm_intrinsics that works just like fun did and use it instead.

Reviewed By: mofarrell

Differential Revision: D10501794

fbshipit-source-id: b6b6eddcff3e4873acbf0d909a02f37daa985423
hphp/runtime/ext/std/ext_std_intrinsics.php
hphp/test/slow/builtin_param_coercion.php