Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return part of a string
<?php substr(string $string, int $offset, ?int $length = null): string
<?php         $data = [];

        if (!empty($with)) {

            $data = preg_split('/,([ \t]+)?/', substr($with, 5));

        }



        $type = SendStatement::TYPE_MAIL;
<?php         $data = [];

        if (!empty($with)) {

            $data = preg_split('/,([ \t]+)?/', substr($with, 5));

        }



        return new SendStatement($notification, $model, $data, SendStatement::TYPE_NOTIFICATION_WITH_MODEL);
<?php         $data = [];



        if (!empty($with)) {

            $data = preg_split('/,([ \t]+)?/', substr($with, 5));

        }



        return [$object, $data];