Level 44
Should work, can you show the code? What version of PHP?
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
hey guys, i have this strign
[8019](+) setinterfacevar=yes [8020](+) setinterfacevar=yes [8021](+) setinterfacevar=yes [8022](+) setinterfacevar=yes
for example i want to search this:
[8019](+) setinterfacevar=yes
and delete it.
i use str_replace for find and replace it with '' but it doesnot find
[8019](+) setinterfacevar=yes
and it can just find
[8019](+)
or
setinterfacevar=yes
.
i test strpos but it is do the same.
how can i do that? thanks.
Please or to participate in this conversation.