1--TEST--
2Bug #62904 (Crash when cloning an object which inherits SplFixedArray)
3--FILE--
4<?php
5
6class foo extends SplFixedArray {
7 public function __construct($size) {
8 }
9}
10
11$x = new foo(2);
12
13$z = clone $x;
14echo "No crash.";
15--EXPECTF--
16No crash.
17