Home
last modified time | relevance | path

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

/PHP-8.2/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_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.phpt2 compact()
12 $result = compact("event", $location_vars);
15 $result = compact(true);
18 $result = compact($foo, [42]);
23 Warning: compact(): Undefined variable $c\u0327ity in %s on line %d
31 Warning: compact(): Argument #1 must be string or array of strings, bool given in %s on line %d
33 Warning: compact(): Argument #2 must be string or array of strings, int given 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")));
23 var_dump(compact(array("g")));
28 *** Testing compact() : basic functionality ***
70 Warning: compact(): Undefined variable $g in %s on line %d
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 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.2/Zend/tests/
H A Ddynamic_call_006.phpt15 $func = 'compact';
54 Cannot call compact() dynamically
/PHP-8.2/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.2/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.2/ext/standard/libavifinfo/
H A DREADME.md3 There is no compact, reliable way to determine the size of an AVIF image. A
/PHP-8.2/ext/fileinfo/
H A Dmagicdata.patch10 # compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, etc.
/PHP-8.2/ext/standard/
H A Dbasic_functions.stub.php978 function compact($var_name, ...$var_names): array {} function
H A Dbasic_functions_arginfo.h2252 ZEND_FUNCTION(compact);
2875 ZEND_FE(compact, arginfo_compact)
H A Darray.c2541 PHP_FUNCTION(compact) argument
/PHP-8.2/build/
H A Dlibtool.m42442 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
/PHP-8.2/ext/fileinfo/tests/
H A Dmagic322 0 short 0421 0421 Alliant compact executable
6289 0 lelong 0314 386 compact demand paged pure executable
7445 # compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, etc.
14397 0 lelong&0377777777 041400314 FreeBSD/i386 compact demand paged
26833 0 short 0x2a17 "compact bitmap" format (Poskanzer)
H A Dmagic私はガラスを食べられます322 0 short 0421 0421 Alliant compact executable
6289 0 lelong 0314 386 compact demand paged pure executable
7445 # compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, etc.
14397 0 lelong&0377777777 041400314 FreeBSD/i386 compact demand paged
26833 0 short 0x2a17 "compact bitmap" format (Poskanzer)

Completed in 168 milliseconds