Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > e658928c392b91def94c0b8d751884ef > files > 8

php-esmtp-0.3.1-23mdv2010.0.i586.rpm

--TEST--
Check for esmtp presence
--SKIPIF--
<?php
  if (!extension_loaded("esmtp"))
    dl('esmtp.so');
  if (!extension_loaded("esmtp"))
    print "skip";
?>  
--POST--
--GET--
--INI--
--FILE--
<?php 
if (!extension_loaded("esmtp"))
  dl('esmtp.so');
if (extension_loaded("esmtp"))
  echo "esmtp extension is available\n";
/*
	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 php4/README.TESTING for further information on
  writing regression tests
*/
?>
--EXPECT--
esmtp extension is available