1234567891011121314151617 |
- --TEST--
- Dynamic calls to scope introspection functions are forbidden (misoptimization)
- --FILE--
- <?php
- function test() {
- $i = 1;
- array_map('extract', [['i' => new stdClass]]);
- $i += 1;
- var_dump($i);
- }
- test();
- ?>
- --EXPECTF--
- Warning: Cannot call extract() dynamically in %s on line %d
- int(2)
|