== String-based ==
int(1)
foo(): Argument #1 ($a) must be of type int, class@anonymous given, called in /in/Q2H2Z on line 18
== Type-less lambda ==
int(1)
foo(): Argument #1 ($a) must be of type int, class@anonymous given, called in /in/Q2H2Z on line 9
== First-class callable ==
int(1)
foo(): Argument #1 ($a) must be of type int, class@anonymous given, called in /in/Q2H2Z on line 18
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.