News for hackers. Stuff that matters.
Re:Boris – A tiny REPL for PHP by bad_login on Sunday March 01, 2015 @07:57AM (#9126890)
I tried boris and psysh at work but they both failed when i wanted to redefine a function or a class.
Re:Boris – A tiny REPL for PHP by bobthecow on Sunday March 01, 2015 @02:33PM (#9128513)
Yeah. Unfortunately that's a limitation of PHP. It should be possible to use something like the Runkit extension to allow function and class redefinition, but it's not the best experience, and it requires compiling and installing a PHP extension that doesn't ship by default with any pre-built PHP I know of.