Exemple #1
0
<?php

namespace envtests\library;

/**
 * Check if APC library is loaded
 *
 * @see http://php.net/manual/en/book.apc.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('apc', 'apc_inc'), 'APC not found');
echo 'APC found';
Exemple #2
0
<?php

namespace envtests\library;

/**
 * Check GD library is loaded
 *
 * @see http://php.net/manual/en/book.image.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('gd', 'gd_info'), 'GD library not found');
Exemple #3
0
<?php

namespace envtests\library;

/**
 * Check XSL support
 *
 * @see http://cz2.php.net/manual/en/book.xsl.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('xsl'), 'XLS library not found');
Exemple #4
0
<?php

namespace envtests\library;

/**
 * Check Zlib Compression support
 *
 * @see http://cz2.php.net/manual/en/book.zlib.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('zlib', 'gzopen'), 'zlib library not found');
Exemple #5
0
<?php

namespace envtests\library;

/**
 * Check Internationalization Functions is loaded
 *
 * @see http://php.net/manual/en/book.intl.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('intl', 'intl_error_name'), 'intl library not found');
Exemple #6
0
<?php

namespace envtests\library;

/**
 * Check if Original MySQL API is loaded
 *
 * @see http://php.net/manual/en/book.mysql.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('mysql', 'mysql_info'), 'mysql library not found');
Exemple #7
0
<?php

namespace envtests\library;

/**
 * Check if tidy is avaliable
 *
 * @see http://php.net/manual/en/book.tidy.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('tidy'), 'Tidy');
echo 'Tidy found';
Exemple #8
0
<?php

namespace envtests\library;

/**
 * Check if memcache is loaded
 *
 * @see http://php.net/manual/en/book.memcache.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('memcache'), 'memcache library not found');
echo 'memcache found';
Exemple #9
0
<?php

namespace envtests\library;

/**
 * Check Gettext is loaded
 *
 * @see http://php.net/manual/en/book.gettext.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('gettext', 'gettext'), 'Gettext library not found');
echo 'Gettext found';
Exemple #10
0
<?php

namespace envtests\library;

/**
 * Check if curl library is loaded
 *
 * @see http://php.net/manual/en/book.curl.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('curl', 'curl_init'), 'Curl not found');
Exemple #11
0
<?php

namespace envtests\library;

/**
 * Check if SimpleXml is supported
 *
 * @see http://php.net/manual/en/book.pdo.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('simplexml'), 'Simplexml library not found');
Exemple #12
0
<?php

namespace envtests\library;

/**
 * Check if bz2 library is loaded
 *
 * @see http://php.net/manual/en/book.bzip2.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('bz2', 'bzopen'), 'Bzip not found');