Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24103 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62869 invoked by uid 1010); 13 Jun 2006 05:21:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 62854 invoked from network); 13 Jun 2006 05:21:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jun 2006 05:21:14 -0000 X-PHP-List-Original-Sender: jasper@album.co.nz X-Host-Fingerprint: 210.55.31.88 mail.album.co.nz Linux 2.5 (sometimes 2.4) (4) Received: from ([210.55.31.88:45128] helo=mail.album.co.nz) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 4C/4D-00253-64B4E844 for ; Tue, 13 Jun 2006 01:21:11 -0400 Received: from mail.album.co.nz (www.album.co.nz [127.0.0.1]) by mail.album.co.nz (Postfix) with ESMTP id B019C15FFBA; Tue, 13 Jun 2006 17:21:04 +1200 (NZST) X-Spam-Checker-Version: SpamAssassin 3.1.3-gr0 (2006-06-01) on www.album.co.nz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.1.3-gr0 Received: from [192.168.225.244] (gate1.digiweb.net.nz [202.174.112.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.album.co.nz (Postfix) with ESMTP id 26C6411E410; Tue, 13 Jun 2006 17:21:04 +1200 (NZST) Message-ID: <448E4B35.4040900@album.co.nz> Date: Tue, 13 Jun 2006 17:20:53 +1200 Organization: Album Limited User-Agent: Thunderbird 1.5.0.2 (X11/20060522) MIME-Version: 1.0 To: Sebastian Bergmann CC: internals@lists.php.net References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Unexpected character in input From: jasper@album.co.nz (Jasper Bryant-Greene) -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Try opening the suspect file in a hex editor, or some editor which won't hide special characters (e.g. ASCII 27) from you. I think you'll find that one has somehow wound its way in there. Either that, or current PHP_5_2 is messed up in some way =) Jasper Sebastian Bergmann wrote: > I am baffled by this warning: > > Warning: Unexpected character in input: '' (ASCII=27) state=1 in > /usr/local/src/PHPUnit2/Util/Report/Coverage/Node/File.php on line 182 > > The line reported is > > $tokens = token_get_all(''); > > Any idea what is going wrong here? This is current PHP_5_2. > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEjks1FfAeHhDzT4gRA5gYAKCo+YdZXu0/cBOH8eoNZxbNcw1t9QCdF6b/ ae/7FJB5/nQOY8O4/7+KTUI= =NG+u -----END PGP SIGNATURE-----