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