1--TEST--
2Bug #78918: Class alias during preloading causes assertion failure
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.optimization_level=-1
7opcache.preload={PWD}/preload_class_alias.inc
8--EXTENSIONS--
9opcache
10--SKIPIF--
11<?php
12if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
13?>
14--FILE--
15<?php
16var_dump(class_exists('A'));
17var_dump(class_exists('B'));
18?>
19--EXPECT--
20bool(true)
21bool(true)
22