general signatures discrepencies fixes (#13122)
adds failing test case for #12060 Signed-off-by: George Peter Banyard <girgias@php.net>