string(5) "array"
int(%d)
-Warning: Wrong parameter count for get_defined_functions() in %s on line %d
+Warning: get_defined_functions() expects exactly 0 parameters, 1 given in %s on line %d
NULL
string(5) "array"
int(%d)
-Warning: Wrong parameter count for get_declared_interfaces() in %s on line %d
+Warning: get_declared_interfaces() expects exactly 0 parameters, 1 given in %s on line %d
NULL
string(5) "array"
int(%d)
--EXPECTF--
*** Testing clearstatcache() function: error conditions ***
-Warning: Wrong parameter count for clearstatcache() in %s on line %d
+Warning: clearstatcache() expects exactly 0 parameters, 1 given in %s on line %d
NULL
*** Done ***
echo "Done\n";
?>
--EXPECTF--
-Warning: Wrong parameter count for get_current_user() in %s on line %d
+Warning: get_current_user() expects exactly 0 parameters, 1 given in %s on line %d
NULL
string(%d) %s
Done
NULL
int(%d)
-Warning: Wrong parameter count for getrandmax() in %s on line %d
+Warning: getrandmax() expects exactly 0 parameters, 1 given in %s on line %d
NULL
int(%d)
-Warning: Wrong parameter count for mt_getrandmax() in %s on line %d
+Warning: mt_getrandmax() expects exactly 0 parameters, 1 given in %s on line %d
NULL
Done
var_dump($biggest_int = getrandmax(true));
?>
--EXPECTF--
-Warning: Wrong parameter count for getrandmax() in %s on line 2
+Warning: getrandmax() expects exactly 0 parameters, 1 given in %s on line 2
NULL
var_dump(mt_getrandmax(true));
?>
--EXPECTF--
-Warning: Wrong parameter count for mt_getrandmax() in %s on line 2
+Warning: mt_getrandmax() expects exactly 0 parameters, 1 given in %s on line 2
NULL
\ No newline at end of file
print $xw->flush(true);
?>
--EXPECTF--
-Warning: Wrong parameter count for XMLWriter::endElement() in %s on line %d
+Warning: XMLWriter::endElement() expects exactly 0 parameters, 1 given in %s on line %d
<?xml version="1.0"?>
<test>
<foo/>