play around with Scintilla and Lexilla
This commit is contained in:
30
3rdparty/lexilla532/lexilla/test/examples/hypertext/Issue19.php
vendored
Normal file
30
3rdparty/lexilla532/lexilla/test/examples/hypertext/Issue19.php
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
$number = 1_234;
|
||||
$var = 'variable value';
|
||||
$test = [
|
||||
<<<EOTEST
|
||||
string $var string EOTEST
|
||||
EOTEST_NOT
|
||||
EOTEST,
|
||||
0b00_01,
|
||||
<<<"EOTEST"
|
||||
"string" "$var" "string" EOTEST
|
||||
EOTEST_NOT
|
||||
EOTEST,
|
||||
0x00_02,
|
||||
<<<'EOTEST'
|
||||
'string' '$var' 'string' EOTEST
|
||||
EOTEST_NOT
|
||||
EOTEST,
|
||||
0x00_03,
|
||||
];
|
||||
print_r($test);
|
||||
|
||||
# Attribute tests
|
||||
#[SingleLineAnnotation('string', 1, null)]
|
||||
#[
|
||||
MultiLineAnnotation('string', 1, null)
|
||||
]
|
||||
|
||||
?>
|
Reference in New Issue
Block a user