ProShell v2.0
Dashboard
Server Info
Server: 158.106.128.192
PHP: 8.2.33
home
planet5
public_html
bansibaba.com
2026-09-14 21:18:47
Editing: class-amp-string-utils.php
Cancel
Save Changes
<?php /** * Class AMP_String_Utils * * @package AMP */ /** * Class with static string utility methods. * * @internal */ class AMP_String_Utils { /** * Checks whether a given string ends in the given substring. * * @param string $haystack Input string. * @param string $needle Substring to look for at the end of $haystack. * @return bool True if $haystack ends in $needle, false otherwise. */ public static function endswith( $haystack, $needle ) { return '' !== $haystack && '' !== $needle && substr( $haystack, -strlen( $needle ) ) === $needle; } }
Upload Files
Cancel
Upload
Create New
Cancel
Create
Change Permissions
Cancel
Save
Change Date
Cancel
Save
Rename Item
Cancel
Save
Confirm Delete
Are you sure you want to delete the selected items?
Cancel
Delete