1. Ruslan Osmanov
  2. pecl-event


pecl-event / tests / 01-load.phpt

Check for event presence
<?php if (!extension_loaded("event")) print "skip"; ?>
echo "event extension is available";
	you can add regression tests for your extension here

  the output of your test code has to be equal to the
  text in the --EXPECT-- section below for the tests
  to pass, differences between the output and the
  expected text are interpreted as failure

	see php5/README.TESTING for further information on
  writing regression tests
event extension is available