/hphp/test/slow/rename_function/1195.php
PHP | 23 lines | 21 code | 2 blank | 0 comment | 0 complexity | 435680289f347ffb83f94e79ecf6d1d0 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?hh
- function test1() {
- var_dump(__METHOD__);
- }
- function test2() {
- var_dump(__METHOD__);
- }
- function test($test) {
- test1();
- TeSt1();
- $test();
- $test = strtolower($test);
- $test(1,2,3);
- }
- <<__EntryPoint>>
- function main_1195() {
- test('Test1');
- fb_rename_function('tEst1', 'fiz');
- fb_rename_function('test2', 'Test1');
- test('teSt1');
- }