phi_remove_002.phpt 380 B

1234567891011121314151617181920212223
  1. --TEST--
  2. Phi sources remove 002
  3. --INI--
  4. opcache.enable=1
  5. opcache.enable_cli=1
  6. opcache.optimization_level=-1
  7. --EXTENSIONS--
  8. opcache
  9. --FILE--
  10. <?php
  11. function func($blogname, $user = '' ) {
  12. if (! is_object( $user ) || ( is_object($user) && ( $user->login != $blogname )) ) {
  13. test();
  14. }
  15. $result = array('user' => $user);
  16. return true;
  17. }
  18. ?>
  19. okey
  20. --EXPECT--
  21. okey