# Square brackets tags

- Thread: https://externals.io/message/13340
- Original archive: https://news-web.php.net/php.internals/13340
- Started by Marco Bambini on 2004-10-15T19:08:11+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #13340 — Marco Bambini — 2004-10-15T19:08:11+00:00

URL: https://externals.io/message/13340#13340

Hi All,

I hope this is the right list to post my question.

I need to write a PHP extension or a PHP template system (this is the 
question) to parse some commands enclosed in square brackets inside web 
pages. Please note that the commands are in the form [command1] and not 
<?php [command1] ?>.
I want use PHP because these commands needs to be remapped with a "web 
oriented" language.

Is it technically possible to remap these square brackets tags to php?
And if yes, what is the best way? A custom template system or a C PHP 
extension?

Thanks a lot.

Best regards,
Marco Bambini
Italy
