public static function prependLines( $lines, $prepend, $prependFirstLine = false )
	{
		$new = [];
		$lines = str_contains( $lines, '\r\n' ) ? explode( "\r\n", $lines ) : explode( "\n", $lines );

		if ( !$prependFirstLine )
			$new[] = $lines[0];

		for ( $i = $prependFirstLine ? 0 : 1; $i < count( $lines ); $i++ )
			$new[] = $prepend . $lines[$i];

		return implode( "\n", $new );
	}
public static function prependLines( $lines, $prepend, $prependFirstLine = false )
	{
		$new = [];
		$lines = str_contains( $lines, '\r\n' ) ? explode( "\r\n", $lines ) : explode( "\n", $lines );

		if ( !$prependFirstLine )
			$new[] = $lines[0];

		for ( $i = $prependFirstLine ? 0 : 1; $i < count( $lines ); $i++ )
			$new[] = $prepend . $lines[$i];

		return implode( "\n", $new );
	}
public static function prependLines ( $ lines , $ prepend , $ prependFirstLine = false ) { $ new = [ ] ; $ lines = str_contains ( $ lines , '\r\n' ) ? explode ( "\r\n" , $ lines ) : explode ( "\n" , $ lines ) ; if ( ! $ prependFirstLine ) $ new [ ] = $ lines [ 0 ] ; for ( $ i = $ prependFirstLine ? 0 : 1 ; $ i < count ( $ lines ) ; $ i ++ ) $ new [ ] = $ prepend . $ lines [ $ i ] ; return implode ( "\n" , $ new ) ; }
Prepends each line

@param string $lines
@param string $prepend
$param bool $prependFirstLine

@return string
Prepends each line