I could not find anything in the documentation that said that it wouldn't work for certain functions, nor I couldn't find anything "obvious" in the source code that blacklists them (but I'm obviously not a php internals guy so I might be missing something).
Is there any obvious reason why this is not working? Thanks!
Hi. First of all, thanks for the extension. It's great!
I'm trying to use it to build a clock mock for unit tests but it seems to ignore any
uopz_set_return
I do on time-related functions.For example, the following are all ignored (original functions are still called):
Whereas the following works, so that I know the extension is installed and enabled correctly:
I could not find anything in the documentation that said that it wouldn't work for certain functions, nor I couldn't find anything "obvious" in the source code that blacklists them (but I'm obviously not a php internals guy so I might be missing something).
Is there any obvious reason why this is not working? Thanks!