Closed szepeviktor closed 1 year ago
Thanks :+1: We'll need a test case to cover this one
Also, str_contains might be better choice here :)
I am not a developer. (meaning my test writing speed = 1 line/hour) This already took me 3 hours to locate. Please add that test case yourself.
Without reproducer in CI we can have a ping-pong case like many times before :)
preg_match
signals a match in its return value. Without a match thematches
array is empty, not null.@TomasVotruba