Re: Unexpected character in input

From: Date: Tue, 13 Jun 2006 05:20:53 +0000
Subject: Re: Unexpected character in input
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-24103@lists.php.net to get a copy of this message
-----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('<?php ' . $line . ' ?>'); > > 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-----

« previous php.internals (#24103) next »