<?php $array = array( 1.0 => 1, 1.1 => 1.1); var_dump($array); var_dump(count($array));?>
Standard input is empty
array(1) { [1]=> float(1.1) } int(1)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!