Skip to content

Spoofchecker::isSuspicious $errorCode always null #10647

Closed
@MatTheCat

Description

@MatTheCat

Description

The following code:

<?php

$sc = new SpoofChecker();
var_dump($sc->isSuspicious('à̀', $error), $error);

Resulted in this output:

bool(true)
NULL

But I expected this output instead:

bool(true)
int(32)

PHP Version

all

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions