To pass '+' symbol in URL in PHP

Typically, a '+' symbol is replaced by space when you pass the symbol directly in the URL.
To pass the symbol, then encode it with '%2B'
'+'  --> '%2B'