Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Transphpile
AnsiHighlight
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