summaryrefslogtreecommitdiff
path: root/ext/ncurses/tests/001.phpt
blob: 2316ba1db4c7b00c32f6032b56bf9892a9e6a0eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--TEST--
Check for ncurses presence
--SKIPIF--
<?php if (!extension_loaded("ncurses")) print "skip"; ?>
--FILE--
<?php 
echo "ncurses 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/tests/README for further information on
  writing regression tests
*/
?>
--EXPECT--
ncurses extension is available