# function proposal - php_check_syntax_string

- Thread: https://externals.io/message/15083
- Original archive: https://news-web.php.net/php.internals/15083
- Started by Unknown Sender on 2005-02-18T03:41:06+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #15083 — Unknown Sender — 2005-02-18T03:41:06+00:00

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

hi all,

to check syntax of pieces of code and to avoid wild regular expressions, i
wrote this:

proto bool php_check_syntax_string(string string [, &$error_message])

like php_check_syntax but on string
it will be useful for applications who have to store valid code like smarty,
...
is it possible to add it?

regards

fred
