/hphp/test/slow/dynamic_variables/1156.php
PHP | 11 lines | 9 code | 2 blank | 0 comment | 0 complexity | 811aff7f9cfa8a0b53b798ed6755ab7a MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?php
- function test() {
- $a = 10;
- $b = 'test';
- var_dump(compact('ab'));
- var_dump(compact('a', 'ab', 'b'));
- var_dump(compact('a', array('ab', 'b')));
- }
- test();