Php debug breakpoint conditional

Hi,

Why using breakpoint conditional like “x == 1” never works on debug ?

What should be exactly in the “Condition” line ?

I have a simple array and I want to break on the $markup line when $branch == ‘something’.

I’ve tried branch == ‘something’ , $branch == ‘something’ , branch == something.
It never breaks.
   
foreach($tree as $branch => $twig){
        $markup .= $branch;
    }

Thanks,

Patrick

It works with numbers, like $branch = 1

For text, it works with 3 equal signs : $branch===“template”

Why?

This has never been an issue for me. Could you provide a small snippet with the condition that you use to reproduce the issue?

Thanks