cadorn / firephp

Automatically exported from code.google.com/p/firephp
1 stars 0 forks source link

array elements displayed in wrong order #194

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What versions and operating system are you using?

OS: linux
Firefox: 21
Firebug:1.11.4
FirePHP Server Library: @copyright   Copyright (C) 2007-2009 Christoph Dorn
FirePHP Extension: 0.7.2

What is the problem?

When displaying arrays, there can be some mismatched between what firephp 
displays and what the value of a variable actually is.

If I have a PHP array containing :
[10=>A,5=>B,12=>C], firephp will display this array instead:
[5=>B,10=>A,12=>C]

What steps will reproduce the problem?
1. assign [10=>A,5=>B,12=>C] to a $variable
2. fb($variable)
3. displays array's element in wrong order

What is the expected output? What do you see instead?

[10=>A,5=>B,12=>C]

[5=>B,10=>A,12=>C]

Please provide any additional information below.

I use fb(print_r($variable,true) ); instead. Other user may not understand that 
the 

Original issue reported on code.google.com by dalmano...@googlemail.com on 20 Jun 2013 at 12:26

GoogleCodeExporter commented 9 years ago

Original comment by christ...@christophdorn.com on 20 Jun 2013 at 4:17