1--TEST-- 2Bug #70528 (assert() with instanceof adds apostrophes around class name) 3--INI-- 4zend.assertions=1 5assert.exception=0 6assert.warning=1 7--FILE-- 8<?php 9 10namespace Foo; 11class Bar {} 12 13$bar = "Bar"; 14assert(new \stdClass instanceof $bar); 15assert(new \stdClass instanceof Bar); 16assert(new \stdClass instanceof \Foo\Bar); 17?> 18--EXPECTF-- 19Warning: assert(): assert(new \stdClass() instanceof $bar) failed in %sbug70528.php on line %d 20 21Warning: assert(): assert(new \stdClass() instanceof Bar) failed in %sbug70528.php on line %d 22 23Warning: assert(): assert(new \stdClass() instanceof \Foo\Bar) failed in %sbug70528.php on line %d 24