Fatal error: Uncaught TypeError: RecursiveRegexIterator::__construct(): Argument #1 ($iterator) must be of type RecursiveIterator, ArrayIterator given in /in/R7MfH:6
Stack trace:
#0 /in/R7MfH(6): RecursiveRegexIterator->__construct(Object(ArrayIterator), '/.*/')
#1 {main}
thrown in /in/R7MfH on line 6
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to RecursiveRegexIterator::__construct() must implement interface RecursiveIterator, instance of ArrayIterator given in /in/R7MfH:6
Stack trace:
#0 /in/R7MfH(6): RecursiveRegexIterator->__construct(Object(ArrayIterator), '/.*/')
#1 {main}
thrown in /in/R7MfH on line 6
Process exited with code 255.
Catchable fatal error: Argument 1 passed to RecursiveRegexIterator::__construct() must implement interface RecursiveIterator, instance of ArrayIterator given in /in/R7MfH on line 6
Process exited with code 255.