Lines Matching refs:is_null
60 $this->scheme = is_null($scheme) || ctype_lower($scheme) ? $scheme : strtolower($scheme);
63 $this->port = is_null($port) ? $port : (int)$port;
116 if (!is_null($this->host)) {
130 if (!is_null($this->scheme) && is_null($this->host) || $this->host === '') {
140 if (!is_null($this->userinfo)) {
146 if (!is_null($this->port)) {
154 if (!is_null($this->host)) { // this catches $this->host === ''
178 } elseif (!is_null($this->scheme)) {
205 if (!is_null($this->query)) {
209 if (!is_null($this->fragment)) {
226 if (!is_null($this->host)) {
228 if (!is_null($this->userinfo)) {
232 if (!is_null($this->port)) {
244 if (!is_null($this->scheme)) {
247 if (!is_null($authority)) {
251 if (!is_null($this->query)) {
254 if (!is_null($this->fragment)) {