4 ms·
What advantage does this have over the built in REPL you can find with php -a (assuming readline instead of libedit)? They fixed fatal behavior a few versions
by McGlockenshire 12y ago
What advantage does this have over the built in REPL you can find with php -a (assuming readline instead of libedit)? They fixed fatal behavior a few versions ago, which was my last gripe with it.
- zerocrates 12y agoPHP's built-in interactive mode isn't a REPL, there's no "P".
- agumonkey 12y agoHow a single missing letter can turn into a major inconvenience.
- tejasmanohar 12y agoIndeed
- shaftoe 12y agoIt seems like the only thing needed to add the P is a var_dump. Am I missing something here?
- McGlockenshire 12y agoNo, you aren't missing anything. Maybe it's the Stockholm Syndrome of using PHP every day speaking, but I'm personally quite satisfied actually having to ask for output.
- agumonkey 12y agoMaybe you just know PHP in and out so much you don't even need output. Like people using ed.