001.phpt 532 B

123456789101112131415161718192021
  1. --TEST--
  2. Check for ebpf presence
  3. --SKIPIF--
  4. <?php if (!extension_loaded("ebpf")) print "skip"; ?>
  5. --FILE--
  6. <?php
  7. echo "ebpf extension is available";
  8. /*
  9. you can add regression tests for your extension here
  10. the output of your test code has to be equal to the
  11. text in the --EXPECT-- section below for the tests
  12. to pass, differences between the output and the
  13. expected text are interpreted as failure
  14. see php7/README.TESTING for further information on
  15. writing regression tests
  16. */
  17. ?>
  18. --EXPECT--
  19. ebpf extension is available