On Tue, 19 Mar 2019 at 00:55, Ben Ramsey <b...@benramsey.com> wrote:
>
>
> On Mar 18, 2019, at 18:45, Robert Hickman <robehick...@gmail.com> wrote:
>
>
> 1: I have seen an extension which allows functions/classes to be
> redefined, although I can't remember what it is called.
>
>
>
> Maybe you’re thinking of the runkit extension? 
> https://secure.php.net/manual/en/book.runkit.php
>
> Cheers,
> Ben

Yes that's what I was thinking of. Looking at it there is
'runkit_function_redefine' but no
'runkit_class_redefine', only facility to redefine individual methods
of an existing class. Thus
not matching Rasmus Schultz request. The sandboxing facility of runkit
may make dynamic
reload possible, if a new sandbox were created when reload was
desired. That's just me
reading the API docs though, I haven't tried it.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to