Server IP : 162.0.217.223 / Your IP : 216.73.216.168 Web Server : LiteSpeed System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : mypckeys ( 1539) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mypckeys/www/wp-content/plugins/tawkto-live-chat/vendor/tawk/url-utils/lib/Helpers/ |
Upload File : |
<?php namespace Tawk\Helpers; class Common { /** * Checks the provided text starts with. * * @param string $text The text to be checked * @param string $start_with The text to match from the provided text to start with. * @return void */ public static function text_starts_with($text, $start_with) { $length = strlen($start_with); return substr($text, 0, $length) === $start_with; } /** * Checks the provided text ends with. * * @param string $text The text to be checked * @param string $ends_with The text to match from the provided text to start with. * @return void */ public static function text_ends_with($text, $ends_with) { $length = strlen($ends_with); return substr($text, -$length) === $ends_with; } }