1--TEST--
2Bug GH-7809 (Cloning a faked SplFileInfo object may segfault)
3--FILE--
4<?php
5class MySplFileInfo extends SplFileInfo {
6 public function __construct(string $filename) {}
7}
8
9$sfi = new MySplFileInfo("foo");
10clone $sfi;
11?>
12--EXPECT--
13