I'm developing some kind of simple PHP shell witch I'll be using for quick debug (Like Yii framework's shell console command) I'm using readline lib and get code on line-by-line basics with history support.
Now when I enter use Some
amespaced\code\class as alias;
in one line the second console command is not able to use alias
.
Is it possible to pass use
to main context, so subcommands can use aliases defined via eval
?