Annotation of embedaddon/php/ext/standard/tests/array/bug52719.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #52719: array_walk_recursive crashes if third param of the function is by reference
                      3: --FILE--
                      4: <?php
                      5: $array = array("hello", array("world"));
                      6: $userdata = array();
                      7: array_walk_recursive(
                      8:     $array,
                      9:     function ($value, $key, &$userdata) { },
                     10:     $userdata
                     11: );
                     12: echo "Done";
                     13: ?>
                     14: --EXPECTF--
                     15: Done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>