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