PageRenderTime 37ms CodeModel.GetById 13ms RepoModel.GetById 1ms app.codeStats 0ms

/hphp/test/zend/good/ext/readline/tests/readline_completion_function_001.php

http://github.com/facebook/hiphop-php
PHP | 15 lines | 13 code | 2 blank | 0 comment | 0 complexity | bd4a8df254aaacf5a292cd84eb9faac2 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 foo() { }
  3. <<__EntryPoint>> function main(): void {
  4. $data = varray[
  5. 'foo',
  6. 'strtolower',
  7. 1,
  8. 1.1231
  9. ];
  10. foreach ($data as $callback) {
  11. readline_completion_function($callback);
  12. }
  13. }