* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing mb_ereg_replace() : error conditions ***\n";
-
//Test mb_ereg_replace with one more than the expected number of arguments
echo "\n-- Testing mb_ereg_replace() function with more than expected no. of arguments --\n";
$pattern = b'[a-k]';
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing mb_ereg_replace() : usage variations ***\n";
// Initialise function arguments not being substituted (if any)
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing mb_ereg_replace() : usage variations ***\n";
// Initialise function arguments not being substituted (if any)
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing mb_ereg_replace() : usage variations ***\n";
// Initialise function arguments not being substituted (if any)
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing mb_ereg_replace() : usage variations ***\n";
// Initialise function arguments not being substituted (if any)
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing mb_split() : usage variations ***\n";
// Initialise function arguments not being substituted (if any)
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing posix_getgrgid() : error conditions ***\n";
// Zero arguments
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing posix_kill() : usage variations ***\n";
// Initialise function arguments not being substituted (if any)
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing posix_kill() : usage variations ***\n";
// Initialise function arguments not being substituted (if any)
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing posix_strerror() : usage variations ***\n";
// Initialise function arguments not being substituted (if any)
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing array_fill_keys() : error conditions ***\n";
$keys = array(1, 2);
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing file_exists() : error conditions ***\n";
// Zero arguments
* Alias to functions: gzpassthru
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing fpassthru() : usage variations ***\n";
error_reporting(E_ALL & ~E_NOTICE);
* Alias to functions: gzseek
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing fseek() : usage variations ***\n";
error_reporting(E_ALL & ~E_NOTICE);
$fp = fopen(__FILE__, 'r');
* Alias to functions: gzseek
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing fseek() : variation - beyond file boundaries ***\n";
$outputfile = __FILE__.".tmp";
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing parse_ini_file() : error conditions ***\n";
// Zero arguments
* Alias to functions: socket_set_timeout
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing stream_set_timeout() : error conditions ***\n";
-
//Test stream_set_timeout with one more than the expected number of arguments
echo "\n-- Testing stream_set_timeout() function with more than expected no. of arguments --\n";
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing utf8_decode() : error conditions ***\n";
// Zero arguments
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing utf8_encode() : error conditions ***\n";
// Zero arguments
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing xml_error_string() : error conditions ***\n";
// Zero arguments
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing xml_get_current_byte_index() : error conditions ***\n";
// Zero arguments
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing xml_get_current_column_number() : error conditions ***\n";
// Zero arguments
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing xml_get_current_line_number() : error conditions ***\n";
// Zero arguments
* Alias to functions:
*/
-/*
- * add a comment here to say what the test is supposed to do
- */
-
echo "*** Testing xml_parse_into_struct() : variation ***\n";
-
$simple = "<main><para><note>simple note</note></para><para><note>simple note</note></para></main>";
$p = xml_parser_create();
xml_parse_into_struct($p, $simple, $vals, $index);