PageRenderTime 42ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/hphp/test/slow/rename_function/1195.php

http://github.com/facebook/hiphop-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
  1. <?hh
  2. function test1() {
  3. var_dump(__METHOD__);
  4. }
  5. function test2() {
  6. var_dump(__METHOD__);
  7. }
  8. function test($test) {
  9. test1();
  10. TeSt1();
  11. $test();
  12. $test = strtolower($test);
  13. $test(1,2,3);
  14. }
  15. <<__EntryPoint>>
  16. function main_1195() {
  17. test('Test1');
  18. fb_rename_function('tEst1', 'fiz');
  19. fb_rename_function('test2', 'Test1');
  20. test('teSt1');
  21. }