3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(number_format(unpack('E', hex2bin('2800322f96213747')), 6, '.', ''));
Output for 8.3.0 - 8.3.6
Fatal error: Uncaught TypeError: number_format(): Argument #1 ($num) must be of type int|float, array given in /in/BaOAK:3 Stack trace: #0 /in/BaOAK(3): number_format(Array, 6, '.', '') #1 {main} thrown in /in/BaOAK on line 3
Process exited with code 255.
Output for 8.1.0 - 8.1.27, 8.2.0 - 8.2.18
Fatal error: Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float, array given in /in/BaOAK:3 Stack trace: #0 /in/BaOAK(3): number_format(Array, 6, '.', '') #1 {main} thrown in /in/BaOAK on line 3
Process exited with code 255.

preferences:
68.54 ms | 402 KiB | 59 Q