1--TEST--
2Test zend_execute_internal being called
3--EXTENSIONS--
4zend_test
5--INI--
6zend_test.observer.execute_internal=1
7--FILE--
8<?php
9
10function f($a) {
11    var_dump(array_sum($a));
12}
13
14f(time() > 0 ? [1, 2, 3] : []);
15
16?>
17--EXPECT--
18<!-- internal enter time() -->
19<!-- internal enter array_sum() -->
20<!-- internal enter var_dump() -->
21int(6)
22