I am grateful for your dedication to PHP. The format of this video was quite nice. I would like to see more of it. And the pain with the existing, commonly used code-highlighters I share.
@n1njaF4c3palm
3 ай бұрын
Been meaning to watch this for a while. Good stuff!
@PHP-Dinos
4 ай бұрын
It is very useful. Thanks for sharing the code highlighter with us.
@juaniquito
4 ай бұрын
SqlInjection? Sounds like a security vulnerability to me 😂😊
@phpannotated
4 ай бұрын
I'm glad someone noticed it 😁
@SarelvdWalt
4 ай бұрын
This is really cool, nicely done!!
@christophrumpel
4 ай бұрын
Great video and tool. Will try it 🙏
@phpannotated
4 ай бұрын
Haha I was just watching your video about Laravel Reverb when you commented on this one 😁
@christophrumpel
4 ай бұрын
🤣 🤝 @@phpannotated
@wpoortman
4 ай бұрын
Lovely stuff, thanks!
@bogdancondorachi8634
4 ай бұрын
After days of frustration with shiki-php, the google gods put you in my path. Thank you!
@CrazyLuke11
4 ай бұрын
If you want to use ast you could use tree-sitter.
@soldierbirb
4 ай бұрын
You could just highlight keywords and php built-ins first, add some id or state to represent it has already been highlighted, and then do the same but for user defined tokens, strings, variables, function names, arguments etc...
@AbelCobrerosDev
4 ай бұрын
Love it! Might try to create a WordPress plugin for it if I get the time
@phpannotated
4 ай бұрын
Let me know if you do! I'm happy to mention it in the readme :)
@developerkwame
4 ай бұрын
This is awesome
@oldcastor-
3 ай бұрын
why don't you just replace from the end of the string instead of extra offset calculations?
@Faisal50x
4 ай бұрын
❤❤
@ThePhilosoft
4 ай бұрын
Sooo * pure AST are no-go, * pure regex is no-go That's why you created a custom intermediate AST based on regex? makes sense ))) no offence )) great package, interesting implementation, it was just hard to pass on this irony
Пікірлер: 23