Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Strip whitespace (or other characters) from the beginning of a string
<?php ltrim(string $string, string $characters = " \n\r\t\v\x00"): string
<?php         if (count($matches) === 3) {

            [, $variableName, $viewFile] = $matches;

            $variableName = ltrim($variableName, '$');



            return compact('variableName', 'viewFile');

        }
<?php     {

        $value = preg_replace('/^\|---LINE:([0-9]+)---\|$/m', '', $value);



        return ltrim($value, PHP_EOL);

    }

}