--TEST-- Bug #48557 (Numeric string keys in Apache Hashmaps are not cast to integers) --SKIPIF-- --FILE-- addfunction("test"); $request = << 1 123 -1000 123 2 123.5 -2000 123.5 011 123.5 012 123.5 XML; $y->handle($request); ?> ===DONE=== --EXPECTF-- array(6) { [1]=> int(123) [-1000]=> %string|unicode%(3) "123" [2]=> float(123.5) [-2000]=> float(123.5) [%u|b%"011"]=> float(123.5) [12]=> float(123.5) } int(123) float(123.5)