PHP Class Transphpile\AnsiHighlight

Mostrar archivo Open project: jaytaph/Transphpile Class Usage Examples

Public Methods

Method Description
highlight ( $str ) : string Converts PHP code into highlighted syntax using ANSI escape codes to pretty print on console.

Method Details

highlight() public method

Converts PHP code into highlighted syntax using ANSI escape codes to pretty print on console.
public highlight ( $str ) : string
$str
return string