This is the problem, im expecting 1012
1011
Just Floatval
1012
Convert to string (other number)
1112
Convert to string (other number)
1013
Use bcmul instead
1012
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.4.33
This is the problem, im expecting 1012
1011
Just Floatval
1012
Convert to string (other number)
1112
Convert to string (other number)
1013
Use bcmul instead
Fatal error: Uncaught Error: Call to undefined function bcmul() in /in/cnIfL:16
Stack trace:
#0 {main}
thrown in /in/cnIfL on line 16
Process exited with code 255.