bool(true)
Fatal error: Uncaught TypeError: Test::valid(): Argument #1 ($value) must be of type ?float, string given, called in /in/hmk19 on line 12 and defined in /in/hmk19:4
Stack trace:
#0 /in/hmk19(12): Test::valid('not a number')
#1 {main}
thrown in /in/hmk19 on line 4
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.