1--TEST--
2Observer: Basic observability of functions only (no includes)
3--EXTENSIONS--
4zend_test
5--INI--
6zend_test.observer.enabled=1
7zend_test.observer.show_output=1
8zend_test.observer.observe_functions=1
9--FILE--
10<?php
11function foo()
12{
13    echo 'Foo' . PHP_EOL;
14}
15
16foo();
17include __DIR__ . '/observer.inc';
18foo();
19?>
20--EXPECTF--
21<!-- init '%s%eobserver_basic_05.php' -->
22<!-- init foo() -->
23<foo>
24Foo
25</foo>
26<!-- init '%s%eobserver.inc' -->
27<!-- init foo_observer_test() -->
28<foo_observer_test>
29foo_observer_test
30</foo_observer_test>
31<foo>
32Foo
33</foo>
34