3 ms·
I tried boris and psysh at work but they both failed when i wanted to redefine a function or a class.
by bad_login 12y ago
I tried boris and psysh at work but they both failed when i wanted to redefine a function or a class.
- bobthecow 12y agoYeah. 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.