Exception in /in/rgmh8:24
Stack trace:
#0 /in/rgmh8(12): Test2->foo()
#1 /in/rgmh8(13): Test2->{closure:userland_call_user_func():11}()
#2 /in/rgmh8(13): Closure->__invoke()
#3 /in/rgmh8(21): userland_call_user_func(Array)
#4 /in/rgmh8(29): Test1->callFoo('userland_call_u...')
#5 {main}
Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, cannot access private method Test2::foo() in /in/rgmh8:21
Stack trace:
#0 /in/rgmh8(21): call_user_func(Array)
#1 /in/rgmh8(30): Test1->callFoo('call_user_func')
#2 {main}
thrown in /in/rgmh8 on line 21
Process exited with code 255.
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.