Home
last modified time | relevance | path

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

/PHP-7.2/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
23 var_dump(compact($arr1));
24 var_dump(compact($arr2));
25 var_dump(compact($arr3));
31 Warning: compact(): recursion detected in %s on line %d
37 Warning: compact(): recursion detected in %s on line %d
39 Warning: compact(): recursion detected in %s on line %d
41 Warning: compact(): recursion detected in %s on line %d
[all …]
H A Dcompact_error.phpt2 Test compact() function : error conditions
5 /* Prototype : proto array compact(mixed var_names [, mixed ...])
12 * Error -tests test compact with zero arguments.
15 echo "*** Testing compact() : error conditions ***\n";
18 echo "\n-- Testing compact() function with Zero arguments --\n";
19 var_dump( compact() );
25 *** Testing compact() : error conditions ***
27 -- Testing compact() function with Zero arguments --
29 Warning: compact() expects at least 1 parameter, 0 given in %s on line %d
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 ***
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 ***
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 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 Dcompact.phpt2 compact()
12 $result = compact("event", $location_vars);
H A Dbug69198.phpt8 $result = compact('willNeverBeDefined');
/PHP-7.2/Zend/tests/
H A Ddynamic_call_006.phpt9 $func = 'compact';
36 Warning: Cannot call compact() dynamically in %s on line %d
/PHP-7.2/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.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"]=>
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.2/ext/standard/
H A Dphp_array.h55 PHP_FUNCTION(compact);
H A Dbasic_functions.c3329 PHP_FE(compact, arginfo_compact)
H A Darray.c2590 PHP_FUNCTION(compact) argument
/PHP-7.2/ext/opcache/tests/
H A Dcompact_literals.phpt2 Test with compact literals
/PHP-7.2/build/
H A Dlibtool.m42435 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
/PHP-7.2/ext/fileinfo/tests/
H A Dmagic259 0 short 0421 0421 Alliant compact executable
4563 0 lelong 0314 386 compact demand paged pure executable
5381 # compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, etc.
11288 0 lelong&0377777777 041400314 FreeBSD/i386 compact demand paged
19968 0 short 0x2a17 "compact bitmap" format (Poskanzer)
H A Dmagic私はガラスを食べられます259 0 short 0421 0421 Alliant compact executable
4563 0 lelong 0314 386 compact demand paged pure executable
5381 # compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, etc.
11288 0 lelong&0377777777 041400314 FreeBSD/i386 compact demand paged
19968 0 short 0x2a17 "compact bitmap" format (Poskanzer)

Completed in 316 milliseconds