xref: /PHP-5.3/Zend/tests/class_alias_008.phpt (revision 5c2ff404)
1--TEST--
2Testing class_alias() with abstract class using an arbitrary class name as alias
3--FILE--
4<?php
5
6abstract class foo { }
7
8class_alias('foo', "\0");
9
10$a = "\0";
11
12new $a;
13
14?>
15--EXPECTF--
16Fatal error: Cannot instantiate abstract class foo in %s on line %d
17