1--TEST--
2To string conversion failure in global
3--FILE--
4<?php
5
6try {
7    global ${new stdClass};
8} catch (Error $e) {
9    echo $e->getMessage(), "\n";
10}
11
12?>
13--EXPECT--
14Object of class stdClass could not be converted to string
15