181+ zend_mm_heap corrupted
181- array(3) {
182- ["0.1"]=>
183- object(cr)#%d (2) {
184- ["priv_member":"cr":private]=>
185- int(9)
186- ["public_member"]=>
187- int(9)
188- }
189- ["0.5"]=>
190- object(cr)#%d (2) {
191- ["priv_member":"cr":private]=>
192- int(12)
193- ["public_member"]=>
194- int(12)
195- }
196- [0]=>
197- object(cr)#%d (2) {
198- ["priv_member":"cr":private]=>
199- int(23)
200- ["public_member"]=>
201- int(23)
202- }
203- }
204- $a=array (
205- '0.1' =>
206- cr::__set_state(array(
207- 'priv_member' => 9,
208- 'public_member' => 9,
209- )),
210- '0.5' =>
211- cr::__set_state(array(
212- 'priv_member' => 12,
213- 'public_member' => 12,
214- )),
215- 0 =>
216- cr::__set_state(array(
217- 'priv_member' => 23,
218- 'public_member' => 23,
219- )),
220- 1 =>
221- cr::__set_state(array(
222- 'priv_member' => 4,
223- 'public_member' => 4,
224- )),
225- 2 =>
226- cr::__set_state(array(
227- 'priv_member' => -15,
228- 'public_member' => -15,
229- )),
230- );
231- $b=array (
232- '0.2' =>
233- cr::__set_state(array(
234- 'priv_member' => 9,
235- 'public_member' => 9,
236- )),
237- '0.5' =>
238- cr::__set_state(array(
239- 'priv_member' => 22,
240- 'public_member' => 22,
241- )),
242- 0 =>
243- cr::__set_state(array(
244- 'priv_member' => 3,
245- 'public_member' => 3,
246- )),
247- 1 =>
248- cr::__set_state(array(
249- 'priv_member' => 4,
250- 'public_member' => 4,
251- )),
252- 2 =>
253- cr::__set_state(array(
254- 'priv_member' => -15,
255- 'public_member' => -15,
256- )),
257- );
258- var_dump(array_udiff_uassoc($a, $b, array("cr", "comp_func_cr"), "comp_func"));
259- array(3) {
260- ["0.1"]=>
261- object(cr)#%d (2) {
262- ["priv_member":"cr":private]=>
263- int(9)
264- ["public_member"]=>
265- int(9)
266- }
267- ["0.5"]=>
268- object(cr)#%d (2) {
269- ["priv_member":"cr":private]=>
270- int(12)
271- ["public_member"]=>
272- int(12)
273- }
274- [0]=>
275- object(cr)#%d (2) {
276- ["priv_member":"cr":private]=>
277- int(23)
278- ["public_member"]=>
279- int(23)
280- }
281- }
282- $a=array (
283- '0.1' =>
284- cr::__set_state(array(
285- 'priv_member' => 9,
286- 'public_member' => 9,
287- )),
288- '0.5' =>
289- cr::__set_state(array(
290- 'priv_member' => 12,
291- 'public_member' => 12,
292- )),
293- 0 =>
294- cr::__set_state(array(
295- 'priv_member' => 23,
296- 'public_member' => 23,
297- )),
298- 1 =>
299- cr::__set_state(array(
300- 'priv_member' => 4,
301- 'public_member' => 4,
302- )),
303- 2 =>
304- cr::__set_state(array(
305- 'priv_member' => -15,
306- 'public_member' => -15,
307- )),
308- );
309- $b=array (
310- '0.2' =>
311- cr::__set_state(array(
312- 'priv_member' => 9,
313- 'public_member' => 9,
314- )),
315- '0.5' =>
316- cr::__set_state(array(
317- 'priv_member' => 22,
318- 'public_member' => 22,
319- )),
320- 0 =>
321- cr::__set_state(array(
322- 'priv_member' => 3,
323- 'public_member' => 3,
324- )),
325- 1 =>
326- cr::__set_state(array(
327- 'priv_member' => 4,
328- 'public_member' => 4,
329- )),
330- 2 =>
331- cr::__set_state(array(
332- 'priv_member' => -15,
333- 'public_member' => -15,
334- )),
335- );
336- var_dump(array_udiff($a, $b, "comp_func_cr"));
337- array(2) {
338- ["0.5"]=>
339- object(cr)#%d (2) {
340- ["priv_member":"cr":private]=>
341- int(12)
342- ["public_member"]=>
343- int(12)
344- }
345- [0]=>
346- object(cr)#%d (2) {
347- ["priv_member":"cr":private]=>
348- int(23)
349- ["public_member"]=>
350- int(23)
351- }
352- }
353- $a=array (
354- '0.1' =>
355- cr::__set_state(array(
356- 'priv_member' => 9,
357- 'public_member' => 9,
358- )),
359- '0.5' =>
360- cr::__set_state(array(
361- 'priv_member' => 12,
362- 'public_member' => 12,
363- )),
364- 0 =>
365- cr::__set_state(array(
366- 'priv_member' => 23,
367- 'public_member' => 23,
368- )),
369- 1 =>
370- cr::__set_state(array(
371- 'priv_member' => 4,
372- 'public_member' => 4,
373- )),
374- 2 =>
375- cr::__set_state(array(
376- 'priv_member' => -15,
377- 'public_member' => -15,
378- )),
379- );
380- $b=array (
381- '0.2' =>
382- cr::__set_state(array(
383- 'priv_member' => 9,
384- 'public_member' => 9,
385- )),
386- '0.5' =>
387- cr::__set_state(array(
388- 'priv_member' => 22,
389- 'public_member' => 22,
390- )),
391- 0 =>
392- cr::__set_state(array(
393- 'priv_member' => 3,
394- 'public_member' => 3,
395- )),
396- 1 =>
397- cr::__set_state(array(
398- 'priv_member' => 4,
399- 'public_member' => 4,
400- )),
401- 2 =>
402- cr::__set_state(array(
403- 'priv_member' => -15,
404- 'public_member' => -15,
405- )),
406- );
407- var_dump(array_udiff_assoc($a, $b, "comp_func_cr"));
408- array(3) {
409- ["0.1"]=>
410- object(cr)#%d (2) {
411- ["priv_member":"cr":private]=>
412- int(9)
413- ["public_member"]=>
414- int(9)
415- }
416- ["0.5"]=>
417- object(cr)#%d (2) {
418- ["priv_member":"cr":private]=>
419- int(12)
420- ["public_member"]=>
421- int(12)
422- }
423- [0]=>
424- object(cr)#%d (2) {
425- ["priv_member":"cr":private]=>
426- int(23)
427- ["public_member"]=>
428- int(23)
429- }
430- }