1--TEST--
2Stringable should be automatically implemented for internal classes
3--SKIPIF--
4<?php
5if (!extension_loaded('zend-test')) die('skip');
6?>
7--FILE--
8<?php
9
10// _ZendTestClass defines __toString() but does not explicitly implement Stringable.
11$obj = new _ZendTestClass;
12var_dump($obj instanceof Stringable);
13
14?>
15--EXPECT--
16bool(true)
17