explode
Intervention/image
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Split a string by a string
explode
(
string $separator
,
string $string
,
int $limit
=
PHP_INT_MAX
): array
public function
countLines
()
{
return
count
(
explode
(
PHP_EOL
,
$this
->
text
));
}
}
src/Intervention/Image/AbstractFont.php