You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use timecop::freeze in a test, do I always have to call timecop::return? (e.g. call in tearDown).
If I run the test without timecop::return, I get a segmentation fault.
#0 0x00005645648f3384 in zend_call_method ()
#1 0x00007fb914ea0c8a in _timecop_datetime_constructor_ex.isra.7 () from /usr/lib64/php/modules/timecop.so
#2 0x00007fb924300dd5 in xdebug_execute_internal () from /usr/lib64/php/modules/xdebug.so
#3 0x00005645646ce7b4 in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER ()
#4 0x000056456495f5a6 in execute_ex ()
(omitted below)
```
The text was updated successfully, but these errors were encountered:
glassmonkey
changed the title
Always call timecop::return?
do I always have to call timecop::return?
Jun 21, 2021
glassmonkey
changed the title
do I always have to call timecop::return?
Do I always have to call timecop::return?
Jun 21, 2021
If I use timecop::freeze in a test, do I always have to call timecop::return? (e.g. call in tearDown).
If I run the test without timecop::return, I get a segmentation fault.
The text was updated successfully, but these errors were encountered: