phpmyadmin/test/libraries/core
Jeff Chan 896fe8169a Fix PMA_arrayWalkRecursive to ensure single pass thru keys
Fix a bug with PMA_arrayWalkRecursive that causes it to apply a function
to its keys/values more than once. A previously incorrect test is fixed
as well.

The bug happens because when keys are modified, PHP's foreach loops
through the new keys again. This does not usually happen unless the
iterating array is passed through by reference (or has refcount=1).
See: http://stackoverflow.com/a/14854568/791890

Please see #936 for full explanation.

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
2014-02-17 03:09:34 +00:00
..
PMA_array_test.php Fix PMA_arrayWalkRecursive to ensure single pass thru keys 2014-02-17 03:09:34 +00:00
PMA_checkPageValidity_test.php Various class name improvements in testsuite 2013-05-02 15:57:09 +02:00
PMA_fatalError_test.php Set token in single place for all tests 2013-06-11 13:53:31 +02:00
PMA_get_real_size_test.php Various class name improvements in testsuite 2013-05-02 15:57:09 +02:00
PMA_getLinks_test.php Fix for bug#4237. 2014-02-07 11:56:46 +05:30
PMA_getTableCount_test_dis.php Signed-off-by: Marc Delisle <marc@infomarc.info> 2013-12-14 14:26:12 -05:00
PMA_headerLocation_test.php Fix coding style. 2014-01-09 18:22:11 +01:00
PMA_ifSetOr_test.php Various class name improvements in testsuite 2013-05-02 15:57:09 +02:00
PMA_isValid_test.php PHPDoc update. 2014-01-09 20:51:40 +01:00
PMA_securePath_test.php Various coding style improvements 2013-06-11 16:27:31 +02:00
PMA_warnMissingExtension_test.php Fix coding style. 2014-01-09 18:22:11 +01:00