1--TEST--
2Observer: Observability of closures of builtin functions
3--EXTENSIONS--
4zend_test
5--INI--
6zend_test.observer.enabled=1
7zend_test.observer.show_output=1
8zend_test.observer.observe_all=1
9--FILE--
10<?php
11var_dump(strlen(...)('test'));
12echo 'DONE' . PHP_EOL;
13?>
14--EXPECTF--
15<!-- init '%s' -->
16<file '%s'>
17  <!-- init strlen() -->
18  <strlen>
19  </strlen>
20  <!-- init var_dump() -->
21  <var_dump>
22int(4)
23  </var_dump>
24DONE
25</file '%s'>
26