Annotation of embedaddon/php/ext/standard/tests/array/compact.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: compact()
! 3: --INI--
! 4: unicode.script_encoding=UTF-8
! 5: unicode.output_encoding=UTF-8
! 6: --FILE--
! 7: <?php
! 8:
! 9: $çity = "San Francisco";
! 10: $state = "CA";
! 11: $event = "SIGGRAPH";
! 12:
! 13: $location_vars = array("c\u0327ity", "state");
! 14:
! 15: $result = compact("event", $location_vars);
! 16: var_dump($result);
! 17: ?>
! 18: --EXPECT--
! 19: array(2) {
! 20: ["event"]=>
! 21: string(8) "SIGGRAPH"
! 22: ["state"]=>
! 23: string(2) "CA"
! 24: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>