PageRenderTime 37ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/hphp/test/slow/iface_impl_parameter_check/02.php

http://github.com/facebook/hiphop-php
PHP | 16 lines | 11 code | 5 blank | 0 comment | 0 complexity | 5ca2e924ad8db1373d0bcd3cbbb005ba 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 // should fail
  2. interface I {
  3. function query(); // HipHop syntax enabled => full check
  4. }
  5. class C extends PDO implements I {
  6. }
  7. <<__EntryPoint>>
  8. function main_02() {
  9. print(print_r(ini_get_all()));
  10. print("Success\n");
  11. }