/PHP-7.1/ext/standard/tests/file/ |
H A D | bug60120.phpt | 23 $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'w')); 27 $options = array_merge(array('suppress_errors' => true, 'binary_pipes' => true, 'bypass_shell' => f… 28 $process = proc_open($cmd, $descriptors, $pipes, getcwd(), array(), $options); 33 $writePipes = array($pipes[0]);
|
/PHP-7.1/ext/openssl/tests/ |
H A D | openssl_public_decrypt_basic.phpt | 19 var_dump(openssl_public_decrypt($encrypted, $output4, array())); 21 var_dump(openssl_public_decrypt($encrypted, $output5, array($pubkey))); 23 var_dump(openssl_public_decrypt($encrypted, $output6, array($pubkey, ""))); 36 Warning: openssl_public_decrypt(): key array must be of the form array(0 => key, 1 => phrase) in %s… 42 Warning: openssl_public_decrypt(): key array must be of the form array(0 => key, 1 => phrase) in %s…
|
/PHP-7.1/ext/standard/tests/array/ |
H A D | array_filter_variation9.phpt | 5 /* Prototype : array array_filter(array $input [, callback $callback]) 6 * Description: Filters elements from the array via the callback. 7 * Source code: ext/standard/array.c 16 $input = array(0, 1, -1, 10, 100, 1000, 'Hello', null); 34 array(6) { 48 array(8) {
|
H A D | uasort_variation10.phpt | 2 Test uasort() function : usage variations - sort array with reference variables 5 /* Prototype : bool uasort(array $array_arg, string $cmp_function) 6 * Description: Sort an array with a user-defined comparison function and maintain index association 7 * Source code: ext/standard/array.c 43 // array_args an array containing elements with reference variables 44 $array_arg = array( 62 array(5) {
|
H A D | uasort_variation7.phpt | 5 /* Prototype : bool uasort(array $array_arg, string $cmp_function) 6 * Description: Sort an array with a user-defined comparison function and maintain index association 7 * Source code: ext/standard/array.c 20 $array_arg = array(0 => 100, 1 => 3, 2 => -70, 3 => 24, 4 => 90); 25 $array_arg = array("b" => "Banana", "m" => "Mango", "a" => "Apple", "p" => "Pineapple"); 36 array(5) { 50 array(4) {
|
H A D | bug25359.phpt | 2 Bug #25359 (array_multisort() does not work in a function if array is global or reference) 10 $data = array('first', 'fifth', 'second', 'forth', 'third'); 11 $sort = array(1, 5, 2, 4, 3); 21 array(5) {
|
/PHP-7.1/ext/gmp/tests/ |
H A D | gmp_jacobi.phpt | 23 var_dump(gmp_jacobi(3, array())); 24 var_dump(gmp_jacobi(array(), 3)); 25 var_dump(gmp_jacobi(array(), array())); 27 var_dump(gmp_jacobi(array(), array(), 1)); 28 var_dump(gmp_jacobi(array()));
|
H A D | gmp_legendre.phpt | 23 var_dump(gmp_legendre(3, array())); 24 var_dump(gmp_legendre(array(), 3)); 25 var_dump(gmp_legendre(array(), array())); 27 var_dump(gmp_legendre(array(), array(), 1)); 28 var_dump(gmp_legendre(array()));
|
H A D | gmp_pown.phpt | 25 var_dump(gmp_powm(array(),$e,$m)); 26 var_dump(gmp_powm($n,array(),$m)); 27 var_dump(gmp_powm($n,$e,array())); 28 var_dump(gmp_powm(array(),array(),array())); 29 var_dump(gmp_powm(array(),array())); 30 var_dump(gmp_powm(array()));
|
/PHP-7.1/ext/pdo_mysql/tests/ |
H A D | bug_41997.phpt | 13 $matches = array(); 42 array(1) { 44 array(1) { 49 array(3) { 57 array(1) { 59 array(1) { 64 array(3) {
|
H A D | bug_39858.phpt | 12 $matches = array(); 75 array(1) { 77 array(1) { 82 array(1) { 84 array(1) { 90 array(1) { 92 array(1) { 97 array(1) { 99 array(1) {
|
/PHP-7.1/ext/standard/tests/general_functions/ |
H A D | proc_open_pipes3.phpt | 9 $spec[$i] = array('pipe', 'w'); 15 $spec[$i] = array('pi'); 21 $spec[$i] = array('pipe', "test"); 25 $spec[$i] = array('file', "test", "z"); 41 Warning: proc_open(): Descriptor item must be either an array or a File-Handle in %s on line %d 42 array(4) { 54 array(4) {
|
H A D | proc_open.phpt | 10 $ds = array( 11 0 => array("pipe", "r"), 12 1 => array("pipe", "w"), 13 2 => array("pipe", "w")
|
/PHP-7.1/ext/standard/tests/strings/ |
H A D | http_build_query_variation2.phpt | 2 Test http_build_query() function: usage variations - first arguments as multidimensional array and … 8 …* Description: Generates a URL-encoded query string from the associative (or indexed) array provid… 12 $mDimensional = array( 15 "9" => array( 22 "sort" => array( 24 "admin" => array( 26 "admin2" => array(
|
H A D | strtok_variation2.phpt | 32 // array with different values 33 $values = array ( 48 // array values 49 array(), 50 array(0), 51 array(1), 52 array(1, 2), 53 array('color' => 'red', 'item' => 'pen'), 83 // loop through each element of the array and check the working of strtok() 130 Warning: strtok() expects parameter 2 to be string, array given in %s on line %d [all …]
|
H A D | stripos_variation15.phpt | 30 // array with different values 31 $values = array ( 46 // array values 47 array(), 48 array(0), 49 array(1), 50 array(1, 2), 51 array('color' => 'red', 'item' => 'pen'), 81 // loop through each element of the array and check the working of stripos() 123 Warning: stripos() expects parameter 1 to be string, array given in %s on line %d [all …]
|
/PHP-7.1/ext/date/tests/ |
H A D | getdate_variation3.phpt | 5 /* Prototype : array getdate([int timestamp]) 16 //array of values to iterate over 17 $inputs = array( 25 // loop through each element of the array for timestamp 38 array(11) { 64 array(11) { 90 array(11) {
|
/PHP-7.1/ext/standard/tests/serialize/ |
H A D | serialization_objects_004.phpt | 18 var_dump(serialize(array($x, $x))); 22 var_dump(serialize(array($x, $x))); 26 var_dump(serialize(array($x, $x))); 30 var_dump(serialize(array($x, $x))); 34 var_dump(serialize(array($x, $x))); 36 $x = array(); 38 var_dump(serialize(array($x, $x)));
|
/PHP-7.1/ext/json/tests/ |
H A D | bug41504.phpt | 2 Bug #41504 (json_decode() converts empty array keys to "_empty_") 15 array(1) { 19 array(2) { 25 array(2) {
|
/PHP-7.1/Zend/tests/ |
H A D | bug50394.phpt | 15 $args = array( &$arg ); 17 call_user_func_array( array( $proxy, 'bar' ), $args ); 18 call_user_func_array( array( $proxy, 'bar' ), array(&$arg) );
|
H A D | bug72119.phpt | 6 public function bar(array $baz = null); 10 public function bar(array $baz = []) 18 Fatal error: Declaration of Hello::bar(array $baz = Array) must be compatible with Foo::bar(?array …
|
/PHP-7.1/ext/spl/tests/ |
H A D | spl_autoload_004.phpt | 15 spl_autoload_register(array('MyAutoLoader', 'autoLoad')); 21 spl_autoload_register(array($myAutoLoader, 'autoLoad')); 32 array(1) { 34 array(2) {
|
/PHP-7.1/ext/posix/tests/ |
H A D | posix_strerror_variation1.phpt | 24 //array of values to iterate over 25 $values = array( 34 // array data 35 array(), 36 array(0), 37 array(1), 38 array(1, 2), 39 array('color' => 'red', 'item' => 'pen'), 69 // loop through each element of the array for errno 106 Warning: posix_strerror() expects parameter 1 to be integer, array given in %s on line %d [all …]
|
/PHP-7.1/sapi/fpm/tests/ |
H A D | status.inc | 10 * @var array 20 * @var array 43 * @param array $fields 66 * @param array $fields 77 array $fields, 120 * @param array $fields 131 * @param array $fields 133 protected function checkStatusHtml(string $body, array $fields) 155 * @param array $fields 157 protected function checkStatusXml(string $body, array $fields) [all …]
|
/PHP-7.1/tests/lang/ |
H A D | passByReference_006.phpt | 58 array(1) { 62 array(1) { 64 array(1) { 94 array(1) { 98 array(1) { 100 array(1) { 129 array(1) { 133 array(1) { 135 array(1) { 163 array(1) { [all …]
|