hello world
Now we'll fail, trying to call 'new' directly:
Fatal error: Uncaught Error: Call to protected Extended::__construct() from global scope in /in/LliKj:30
Stack trace:
#0 {main}
thrown in /in/LliKj on line 30
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.
hello world
Now we'll fail, trying to call 'new' directly:
Fatal error: Uncaught Error: Call to protected Extended::__construct() from invalid context in /in/LliKj:30
Stack trace:
#0 {main}
thrown in /in/LliKj on line 30
Process exited with code 255.