Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15083 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13417 invoked by uid 1010); 18 Feb 2005 03:39:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13337 invoked from network); 18 Feb 2005 03:39:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2005 03:39:55 -0000 X-Host-Fingerprint: 213.186.50.69 blanchette.skouat.net Linux 2.4/2.6 Received: from ([213.186.50.69:32978] helo=blanchette.skouat.net) by pb1.pair.com (ecelerity 1.2 (r4437)) with SMTP id 3D/C8-28819-A7365124 for ; Thu, 17 Feb 2005 22:39:38 -0500 Received: from gabriel ([::ffff:213.223.77.121]) (AUTH: LOGIN frederic.lecointre@burnweb.net) by blanchette.skouat.net with esmtp; Fri, 18 Feb 2005 04:39:31 +0100 id 0002818D.42156373.000073AC Message-ID: <005801c5156b$ae0711b0$0201a8c0@gabriel> "=?iso-8859-1?Q?Fr=E9d=E9ric_LECOINTRE?=" To: internals@lists.php.net Date: Fri, 18 Feb 2005 04:41:06 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: function proposal - php_check_syntax_string From: bogus@news.php.net (Unknown Sender) 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