1--TEST--
2Observer: Observe function and class declarations with file_cache_only
3--EXTENSIONS--
4zend_test
5--INI--
6zend_test.observer.enabled=1
7zend_test.observer.show_output=1
8zend_test.observer.observe_declaring=1
9opcache.enable_cli=1
10opcache.file_cache="{TMP}"
11opcache.file_cache_only=1
12--FILE--
13<?php
14
15function a() {}
16class A {}
17class B extends A {}
18
19?>
20--EXPECTF--
21<!-- declared function 'a' -->
22<!-- declared class 'a' -->
23<!-- declared class 'b' -->
24<!-- init '%s' -->
25