mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00

Conflicts: ext/spl/tests/fixedarray_023.phpt ext/spl/spl_fixedarray.c (fix compile error)
11 lines
229 B
PHP
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
|