Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/tests/array/
H A Dcompact_variation1.phpt2 Test compact() function : usage variations - arrays containing references.
5 /* Prototype : proto array compact(mixed var_names [, mixed ...])
11 * compact variations - arrays with references
13 echo "*** Testing compact() : usage variations - arrays containg references ***\n";
23 var_dump(compact($arr1));
24 var_dump(compact($arr2));
25 var_dump(compact($arr3));
29 *** Testing compact() : usage variations - arrays containg references ***
31 Warning: compact(): recursion detected in %s on line %d
37 Warning: compact(): recursion detected in %s on line %d
[all …]
H A Dcompact_basic.phpt2 Test compact() function : basic functionality
5 /* Prototype : proto array compact(mixed var_names [, mixed ...])
15 echo "*** Testing compact() : basic functionality ***\n";
25 var_dump (compact(array("a", "b", "c", "d", "e", "f")));
27 var_dump (compact("a", "b", "c", "d", "e", "f"));
28 var_dump (compact(array("keyval"=>"a", "b"=>"b", "c"=>1)));
31 var_dump (compact(array(10, 0.3, true, array(20), NULL)));
32 var_dump (compact(10, 0.3, true, array(20), NULL));
33 var_dump (compact(array("g")));
38 *** Testing compact() : basic functionality ***
[all …]
H A Dcompact_variation2.phpt2 Test compact() function: ensure compact() doesn't pick up variables declared outside of current sco…
5 /* Prototype : proto array compact(mixed var_names [, mixed ...])
10 echo "*** Testing compact() : usage variations - variables outside of current scope ***\n";
18 var_dump(compact('a','b','c'));
19 var_dump(compact(array('a','b','c')));
27 *** Testing compact() : usage variations - variables outside of current scope ***
29 Notice: compact(): Undefined variable: a in %s on line %d
37 Notice: compact(): Undefined variable: a 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 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 Notice: compact(): Undefined variable: c\u0327ity in %s on line %d
H A Dbug71220.phpt2 Bug #71220 (Null pointer deref (segfault) in compact via ob_start)
5 ob_start("compact");
H A Dbug71603.phpt2 Bug #71603 (compact() maintains references in php7)
8 $array = compact('foo_reference');
H A Dbug69198.phpt8 $result = compact('willNeverBeDefined');
12 Notice: compact(): Undefined variable: willNeverBeDefined in %s on line %d
/PHP-7.4/Zend/tests/
H A Ddynamic_call_006.phpt9 $func = 'compact';
36 Warning: Cannot call compact() dynamically in %s on line %d
/PHP-7.4/ext/json/tests/
H A Dpass001.phpt54 \"compact\": [1,2,3,4,5,6,7],
137 "compact": [1,2,3,4,5,6,7],
254 ["compact"]=>
392 ["compact"]=>
430 …":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],…
432 …":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],…
534 ["compact"]=>
672 ["compact"]=>
H A Dpass001.1.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"]=>
H A Dpass001.1_64bit.phpt65 \"compact\": [1,2,3,4,5,6,7],
153 "compact": [1,2,3,4,5,6,7],
313 ["compact"]=>
494 ["compact"]=>
532 …":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],…
534 …":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],…
679 ["compact"]=>
860 ["compact"]=>
/PHP-7.4/ext/standard/
H A Dphp_array.h53 PHP_FUNCTION(compact);
H A Dbasic_functions.c3351 PHP_FE(compact, arginfo_compact)
H A Darray.c2600 PHP_FUNCTION(compact) argument
/PHP-7.4/ext/opcache/tests/
H A Dcompact_literals.phpt2 Test with compact literals
/PHP-7.4/
H A Drun-tests.php1685 send_message($workerSock, compact('errno', 'errstr', 'errfile', 'errline') + [
/PHP-7.4/build/
H A Dlibtool.m42431 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
/PHP-7.4/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます293 0 short 0421 0421 Alliant compact executable
5665 0 lelong 0314 386 compact demand paged pure executable
6602 # compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, etc.
13091 0 lelong&0377777777 041400314 FreeBSD/i386 compact demand paged
23361 0 short 0x2a17 "compact bitmap" format (Poskanzer)
H A Dmagic293 0 short 0421 0421 Alliant compact executable
5665 0 lelong 0314 386 compact demand paged pure executable
6602 # compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, etc.
13091 0 lelong&0377777777 041400314 FreeBSD/i386 compact demand paged
23361 0 short 0x2a17 "compact bitmap" format (Poskanzer)

Completed in 211 milliseconds