play around with Scintilla and Lexilla

This commit is contained in:
2024-07-02 23:47:26 +08:00
parent d7c71f41b2
commit 727a2ec214
992 changed files with 281111 additions and 195 deletions

View 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)
]
?>