Home
last modified time | relevance | path

Searched refs:compact (Results 1 – 23 of 23) sorted by relevance

/PHP-8.0/ext/standard/tests/array/
H A Dcompact_variation2.phpt2 Test compact() function: ensure compact() doesn't pick up variables declared outside of current sco…
5 echo "*** Testing compact() : usage variations - variables outside of current scope ***\n";
13 var_dump(compact('a','b','c'));
14 var_dump(compact(array('a','b','c')));
21 *** Testing compact() : usage variations - variables outside of current scope ***
23 Warning: compact(): Undefined variable $a in %s on line %d
31 Warning: compact(): Undefined variable $a in %s on line %d
H A Dcompact_basic.phpt2 Test compact() function : basic functionality
9 echo "*** Testing compact() : basic functionality ***\n";
19 var_dump (compact(array("a", "b", "c", "d", "e", "f")));
21 var_dump (compact("a", "b", "c", "d", "e", "f"));
22 var_dump (compact(array("keyval"=>"a", "b"=>"b", "c"=>1)));
25 var_dump (compact(array(10, 0.3, true, array(20), NULL)));
26 var_dump (compact(10, 0.3, true, array(20), NULL));
27 var_dump (compact(array("g")));
32 *** Testing compact() : basic functionality ***
78 Warning: compact(): Undefined variable $g in %s on line %d
H A Dcompact_variation1.phpt2 Test compact() function : usage variations - arrays containing references.
6 * compact variations - arrays with references
8 echo "*** Testing compact() : usage variations - arrays containing references ***\n";
20 var_dump(compact($arr1));
26 var_dump(compact($arr2));
31 var_dump(compact($arr3));
35 *** Testing compact() : usage variations - arrays containing references ***
H A Dcompact_no_this.phpt2 compact() without object context
9 return (static function(){ return compact('this'); })();
14 var_dump(compact('this'));
16 var_dump((function(){ return compact('this'); })());
H A Dcompact_this.phpt2 compact() with object context
9 return compact('this');
17 return compact([['this']]);
25 return (function(){ return compact('this'); })();
H A Dbug71220.phpt2 Bug #71220 (Null pointer deref (segfault) in compact via ob_start)
5 ob_start("compact");
13 Cannot call compact() dynamically
H A Dcompact_order.phpt2 compact() and hashmap order
9 var_dump(compact('foo', 'bar'));
10 var_dump(compact('bar', 'foo'));
H A Dcompact.phpt2 compact()
12 $result = compact("event", $location_vars);
16 Warning: compact(): Undefined variable $c\u0327ity in %s on line %d
H A Dbug71603.phpt2 Bug #71603 (compact() maintains references in php7)
8 $array = compact('foo_reference');
H A Dbug69198.phpt8 $result = compact('willNeverBeDefined');
12 Warning: compact(): Undefined variable $willNeverBeDefined in %s on line %d
/PHP-8.0/Zend/tests/
H A Ddynamic_call_006.phpt15 $func = 'compact';
54 Cannot call compact() dynamically
/PHP-8.0/ext/json/tests/
H A Dpass001.phpt50 \"compact\": [1,2,3,4,5,6,7],
133 "compact": [1,2,3,4,5,6,7],
250 ["compact"]=>
388 ["compact"]=>
426 …":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],…
428 …":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],…
530 ["compact"]=>
668 ["compact"]=>
H A Dpass001.1.phpt60 \"compact\": [1,2,3,4,5,6,7],
148 "compact": [1,2,3,4,5,6,7],
308 ["compact"]=>
489 ["compact"]=>
527 …":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],…
529 …":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],…
674 ["compact"]=>
855 ["compact"]=>
H A Dpass001.1_64bit.phpt64 \"compact\": [1,2,3,4,5,6,7],
152 "compact": [1,2,3,4,5,6,7],
312 ["compact"]=>
493 ["compact"]=>
531 …":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],…
533 …":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],…
678 ["compact"]=>
859 ["compact"]=>
/PHP-8.0/ext/opcache/tests/
H A Dfunc_info.phpt16 if (in_array($function, ["extract", "compact", "get_defined_vars"])) {
H A Dcompact_literals.phpt2 Test with compact literals
/PHP-8.0/ext/standard/
H A Dbasic_functions.stub.php122 function compact($var_name, ...$var_names): array {} function
H A Dbasic_functions_arginfo.h2261 ZEND_FUNCTION(compact);
2886 ZEND_FE(compact, arginfo_compact)
H A Darray.c2569 PHP_FUNCTION(compact) argument
/PHP-8.0/
H A Drun-tests.php1745 send_message($workerSock, compact('errno', 'errstr', 'errfile', 'errline') + [
/PHP-8.0/build/
H A Dlibtool.m42432 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
/PHP-8.0/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます293 0 short 0421 0421 Alliant compact executable
5970 0 lelong 0314 386 compact demand paged pure executable
7068 # compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, etc.
13878 0 lelong&0377777777 041400314 FreeBSD/i386 compact demand paged
25639 0 short 0x2a17 "compact bitmap" format (Poskanzer)
H A Dmagic293 0 short 0421 0421 Alliant compact executable
5970 0 lelong 0314 386 compact demand paged pure executable
7068 # compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, etc.
13878 0 lelong&0377777777 041400314 FreeBSD/i386 compact demand paged
25639 0 short 0x2a17 "compact bitmap" format (Poskanzer)

Completed in 212 milliseconds