$number: 1.233.332,34
Fatal error: Uncaught TypeError: number_format(): Argument #1 ($num) must be of type int|float, string given in /in/hUB1W:16
Stack trace:
#0 /in/hUB1W(16): number_format('1.233.33234', 2, ',', '.')
#1 {main}
thrown in /in/hUB1W on line 16
Process exited with code 255.
$number: 1.233.332,34
Fatal error: Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float, string given in /in/hUB1W:16
Stack trace:
#0 /in/hUB1W(16): number_format('1.233.33234', 2, ',', '.')
#1 {main}
thrown in /in/hUB1W on line 16
Process exited with code 255.
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/hUB1W on line 15
$number: 1.233.332,34PHP_EOL
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/hUB1W on line 16
$number2: 1,23PHP_EOL