DEPRECATED » substr_compare(): Passing null to parameter #1 ($haystack) of type string is deprecated

     /var/www/vhosts/perpa.com.tr/httpdocs/External/Starting/Autoload/Functions.php
        

150.     return Html::anchor$url$text$options );
151. }
152. 
153. /**
154.  * @param $text
155.  * @param $needle
156.  */
157. function text_ends_with$text$needle )
158. {
159. 
    return 
substr_compare$text$needle, -mb_strlen$needle ), mb_strlen$needle ) ) === 0; 160. } 161.  162. /** 163.  * @param $file_path 164.  */ 165. function unlink_if_exists$file_path ) 166. { 167.     if ( file_exists$file_path ) ) 168.     { 169.         unlink$file_path );