source: src/router/php7/Zend/tests/dynamic_call_008.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 2 months ago

update php

File size: 239 bytes
Line 
1--TEST--
2Don't optimize dynamic call to non-dynamic one if it drops the warning
3--FILE--
4<?php
5
6function test() {
7    ((string) 'extract')(['a' => 42]);
8}
9test();
10
11?>
12--EXPECTF--
13Warning: Cannot call extract() dynamically in %s on line %d
Note: See TracBrowser for help on using the repository browser.