Re: [PHP] Handling exit in eval

2011-03-14 Thread DELiTH
Richard Quadling wrote: > On 14 March 2011 12:14, DELiTH wrote: >> Richard Quadling wrote: >> >>> 2011/3/14 Richard Quadling : >>> >>> And where is my UNDO button. >>> >>> Essentially, having exit in the eval code is no different to

Re: [PHP] Handling exit in eval

2011-03-14 Thread DELiTH
Richard Quadling wrote: > 2011/3/14 Richard Quadling : > > And where is my UNDO button. > > Essentially, having exit in the eval code is no different to having it > in non-eval code. eval isn't a separate entity which can be > terminated. > > So, code the eval code differently. > > If you can prov

[PHP] Handling exit in eval

2011-03-14 Thread DELiTH
Is there any way to emulate an exit in eval without exiting the calling script. I would like to do something like this: A simple return would fix it IF the return isn't located within a function. Any good suggestions? Thanks in advanced Thomas Björk -- PHP General Mailing List (http://w