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.9
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.29, 8.2.0 - 8.2.21
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:
91.81 ms | 403 KiB | 67 Q