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