1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/spl/tests/bug62904.phpt
Máté Kocsis 7aacc705d0 Add many missing closing PHP tags to tests
Closes GH-5958
2020-08-09 22:03:36 +02:00

18 lines
255 B
PHP

--TEST--
Bug #62904 (Crash when cloning an object which inherits SplFixedArray)
--FILE--
<?php
class foo extends SplFixedArray {
public function __construct($size) {
}
}
$x = new foo(2);
$z = clone $x;
echo "No crash.";
?>
--EXPECT--
No crash.