Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/php8funcs.php
blob: 358cf988d39b19c0aa141600548418e8a86a6bd7 (plain)
1
2
3
4
5
6
7
<?php

function str_starts_with($string, $startString) 
{ 
    $len = strlen($startString); 
    return (substr($string, 0, $len) === $startString); 
}