I'm using PHP trim() to remove https:// from a sting.
trim('https://www.hakanerenler.net', 'https://')
If i write .com to the domain, its working fine. But if its a .net domain, the last T dissapear. Why sould if the trimming the last "T" of .net
echo trim('https://www.hakanerenler.com', 'https://');
returns "www.hakanerenler.com"
echo trim('https://www.hakanerenler.net', 'https://');
returns "www.hakanerenler.ne"
Thanks