TwistPHP Documentation

explodeLines

File path: dist/twist/Core/Models/String/SyntaxHighlight.model.php
Namespace: Twist\Core\Models\String
Extends:

explodeLinesExplode the highlighted code that has been returned, fix any unclosed/unopened tags

Parameters

Name Type Description
$strCodestringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strCode 'foo';

//Call the function explodeLines with the example vars
\Twist\Core\Models\String\SyntaxHighlight::explodeLines($strCode);