Calling protected method from parent: data from User
Fatal error: Uncaught Error: Call to protected method User::getSomething() from global scope in /in/093Ao:28
Stack trace:
#0 {main}
thrown in /in/093Ao on line 28
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.
Output for 7.2.6 - 7.2.34
Calling protected method from parent: data from User
Fatal error: Uncaught Error: Call to protected method User::getSomething() from context '' in /in/093Ao:28
Stack trace:
#0 {main}
thrown in /in/093Ao on line 28
Process exited with code 255.
Output for 5.6.40
Parse error: syntax error, unexpected ':', expecting ';' or '{' in /in/093Ao on line 6
Process exited with code 255.