Fatal error: Uncaught Error: Call to a member function getData() on array in /in/9vLKU:8
Stack trace:
#0 [internal function]: {closure}('test', 'test')
#1 /in/9vLKU(7): array_filter(Array, Object(Closure), 1)
#2 {main}
thrown in /in/9vLKU on line 8
Process exited with code 255.
Fatal error: Uncaught Error: Call to a member function getData() on array in /in/9vLKU:8
Stack trace:
#0 [internal function]: {closure}('test', 'test')
#1 /in/9vLKU(9): array_filter(Array, Object(Closure), 1)
#2 {main}
thrown in /in/9vLKU on line 8
Process exited with code 255.
Output for 5.6.0 - 5.6.38
Fatal error: Call to a member function getData() on array in /in/9vLKU on line 8
Process exited with code 255.
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38
Notice: Use of undefined constant ARRAY_FILTER_USE_BOTH - assumed 'ARRAY_FILTER_USE_BOTH' in /in/9vLKU on line 9
Warning: array_filter() expects at most 2 parameters, 3 given in /in/9vLKU on line 9
NULL