I'm testing preg_quote() function in search function in Laravel. I found out a strange behavior - "+" is not escapes, but remove from the output.
preg_quote("a + b"); // "a b"
Tried to call same function without laravel staff from cli
php test.phpa // a \+ b
Seems Laravel makes some affect on function/output/something else...
Laravel 5.7. / php 7.3.1