xref: /PHP-5.5/Zend/tests/bug43343.phpt (revision bd1e5696)
1--TEST--
2Bug #43343 (Variable class name)
3--FILE--
4<?php
5namespace Foo;
6class Bar { }
7$foo = 'bar';
8var_dump(new namespace::$foo);
9?>
10--EXPECTF--
11Parse error: %s error%sexpecting%sT_NS_SEPARATOR%sin %sbug43343.php on line 5
12