Re: php interactive shell without readline
| From: | Andrew Faulds | Date: | Sun, 05 Aug 2012 18:36:02 +0000 |
| Subject: | Re: php interactive shell without readline | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62047@lists.php.net to get a copy of this message | ||
On 05/08/12 19:33, Ivan Enderlin @ Hoa wrote:
On 05/08/12 12:39, Andrew Faulds wrote:Great, but couldn't you type some command which would screw it up, by accident?What do you mean? Say your implementation uses some global variable called $history. Now say I type "$history = [];" at the interactive prompt. Won't that break it?
-- Andrew Faulds http://ajf.me/Also I think UTF-8 (Unix) or UTF-16 (Windows) might be important.Exactly. I'm working on it. Best regards. -- Ivan Enderlin Developer of Hoa http://hoa.42/ orhttp://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ andhttp://www.inria.fr/ Member of HTML and WebApps Working Group of W3C http://w3.org/