src/Rasterization/Path/SVGPathParser.php
private function splitArguments($str)
    {
        $str = trim($str);

        $args = array();
        if (!empty($str)) {
            preg_match_all('/[+-]?(\d*\.\d+|\d+)(e[+-]?\d+)?/', $str, $args);
            $args = $args[0];
        }

        return $args;
    }
private function splitArguments($str)
    {
        $str = trim($str);

        $args = array();
        if (!empty($str)) {
            preg_match_all('/[+-]?(\d*\.\d+|\d+)(e[+-]?\d+)?/', $str, $args);
            $args = $args[0];
        }

        return $args;
    }
private function splitArguments ( $ str ) { $ str = trim ( $ str ) ; $ args = array ( ) ; if ( ! empty ( $ str ) ) { preg_match_all ( '/[+-]?(\d*\.\d+|\d+)(e[+-]?\d+)?/' , $ str , $ args ) ; $ args = $ args [ 0 ] ; } return $ args ; }
Splits the given arguments string into an array of strings.

@param string $str The string to split.

@return string[] The splitted arguments.
Splits the given arguments string into an array of strings .