From 48f089a11159b6dd067494b2c7065c3e55bc7726 Mon Sep 17 00:00:00 2001 From: nikic Date: Tue, 21 Feb 2012 19:58:11 +0100 Subject: [PATCH] Tweak readme --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 730dd36..a7c9a8f 100644 --- a/README.md +++ b/README.md @@ -67,10 +67,11 @@ array( ) ``` -If you then stick that result into the pretty printer you'll get back PHP code again :) +You can then work with this syntax tree, for example to statically analyze the code (e.g. to find +programming errors or security issues). -This is useful for a variety of situations where you want to deal with code programmatically, like static -analysis, code preprocessing and code generation. +Additionally, you can convert a syntax tree back to PHP code. This allows you to do code preprocessing +(like automatedly porting code to older PHP versions). So, that's it, in a nutshell. You can find everything else in the [docs][1].