Find if url(current address) contains “?” or not with php

Related Post Type of loop in php views 14 how to check password is strong or weak in php views 29 Cannot use object of type stdClass as array