constr1 called
constr2 called
Fatal error: Uncaught Exception: invalid number of arguments in /in/fSEc3:12
Stack trace:
#0 /in/fSEc3(24): Foo->__construct('a', 'b', 3)
#1 {main}
thrown in /in/fSEc3 on line 12
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 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
constr1 called
constr2 called
Fatal error: Uncaught exception 'Exception' with message 'invalid number of arguments' in /in/fSEc3:12
Stack trace:
#0 /in/fSEc3(24): Foo->__construct('a', 'b', 3)
#1 {main}
thrown in /in/fSEc3 on line 12
Process exited with code 255.