/hphp/test/zend/good/ext/standard/tests/array/compact.php
PHP | 11 lines | 8 code | 3 blank | 0 comment | 0 complexity | 062710a33389e50f1fde2f562bd52c96 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
- $รงity = "San Francisco";
- $state = "CA";
- $event = "SIGGRAPH";
- $location_vars = array("c\u0327ity", "state");
- $result = compact("event", $location_vars);
- var_dump($result);
- ?>