1--TEST--
2Internal class variance
3--EXTENSIONS--
4zend_test
5--FILE--
6<?php
7$test = new _ZendTestChildClass;
8
9try {
10    $test->returnsThrowable();
11} catch (\Error) {
12    echo "OK";
13}
14?>
15--EXPECT--
16OK
17