php-src/ext/spl/tests/fixedarray_024.phpt
Tyson Andre b50315e73c Merge branch 'PHP-8.1'
Conflicts:
	ext/spl/tests/fixedarray_023.phpt
	ext/spl/spl_fixedarray.c (fix compile error)
2022-02-23 19:52:59 -05:00

11 lines
229 B
PHP

--TEST--
SPL: FixedArray: Bug GH-8041 (php 8.2.0-dev crashes with assertion for cloning/get_object_vars on non-empty SplFixedArray)
--FILE--
<?php
$x = new SplFixedArray(1);
$z = (array)$x;
$y = clone $x;
?>
DONE
--EXPECT--
DONE