Home
last modified time | relevance | path

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

12

/php-src/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, true 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-src/Zend/tests/
H A Dgh13142.phpt17 compact("a\0b");
18 compact("\0ab");
19 compact("ab\0");
35 Warning: compact(): Undefined variable $a%0b in %s on line %d
37 Warning: compact(): Undefined variable $%0ab in %s on line %d
39 Warning: compact(): Undefined variable $ab%0 in %s on line %d
H A Ddynamic_call_006.phpt15 $func = 'compact';
54 Cannot call compact() dynamically
/php-src/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-src/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-src/ext/standard/libavifinfo/
H A DREADME.md3 There is no compact, reliable way to determine the size of an AVIF image. A
/php-src/docs/source/introduction/
H A Dhigh-level-overview.rst136 Here's what the surprisingly compact opcodes for the AST above might look like:
/php-src/ext/opcache/jit/ir/
H A Dir_ra.c1861 bool compact = 0; in ir_coalesce() local
1926 compact = 1; in ir_coalesce()
1958 compact = 1; in ir_coalesce()
2011 compact = 1; in ir_coalesce()
2019 if (compact) { in ir_coalesce()
/php-src/ext/standard/
H A Dbasic_functions.stub.php1672 function compact($var_name, ...$var_names): array {} function
H A Dbasic_functions_arginfo.h2359 ZEND_FUNCTION(compact);
2983 ZEND_FE(compact, arginfo_compact)
H A Darray.c2742 PHP_FUNCTION(compact) argument
/php-src/build/
H A Dlibtool.m42442 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます344 0 short 0421 0421 Alliant compact executable
6942 0 lelong 0314 386 compact demand paged pure executable
8419 # compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, etc.
10839 # 1~a unique index 8~index has FOR clause 32~compact index format 64~compound index header
10845 >14 ubyte &0x20 \b, compact format
15878 0 lelong&0377777777 041400314 FreeBSD/i386 compact demand paged
31353 0 short 0x2a17 "compact bitmap" format (Poskanzer)

Completed in 164 milliseconds

12