Overview
Comment: | ErrorManager: Fix bug (in dumping) with iterators that are finished |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | 7.3 |
Files: | files | file ages | folders |
SHA1: |
faee229eeba83c0f4adba07ca082464c |
User & Date: | bohwaz on 2021-11-16 02:06:46 |
Other Links: | branch diff | manifest | tags |
Context
2021-11-18
| ||
21:30 | Brindille: Add default section function 'foreach' check-in: 189d8927d4 user: bohwaz tags: 7.3 | |
2021-11-16
| ||
02:06 | ErrorManager: Fix bug (in dumping) with iterators that are finished check-in: faee229eeb user: bohwaz tags: 7.3 | |
2021-11-14
| ||
22:35 | Mail_Message: implement logic to identify a bounce message type check-in: 18f4bc202b user: bohwaz tags: 7.3 | |
Changes
Modified src/lib/KD2/ErrorManager.php from [cdee5cae8e] to [22ad093b61].
︙ | ︙ | |||
938 939 940 941 942 943 944 | { $out = 'array(' . count((array) $var) . ') {' . PHP_EOL; } $level++; if ($var instanceof \Traversable) { | > > > | > > > > > | 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 | { $out = 'array(' . count((array) $var) . ') {' . PHP_EOL; } $level++; if ($var instanceof \Traversable) { $var2 = []; // Iterate as long as we can while (@$var->valid()) { $var2[] = $var->current(); $var->next(); } $var = $var2; } foreach ($var as $key=>$value) { $out .= str_repeat(' ', $level * 2); $out .= is_string($key) ? '["' . $key . '"]' : '[' . $key . ']'; $out .= '=> ' . self::dump($value, $hide_values, $level) . PHP_EOL; |
︙ | ︙ |