/php-src/ext/standard/tests/array/ |
H A D | sort_basic.phpt | 6 * Testing sort() by providing arrays with default keys and assoc arrays 26 echo "\n-- Testing sort() by supplying string array, 'flag' value is default --\n"; 36 echo "\n-- Testing sort() by supplying string array, 'flag' = SORT_REGULAR --\n"; 41 echo "\n-- Testing sort() by supplying numeric array, 'flag' = SORT_REGULAR --\n"; 46 echo "\n-- Testing sort() by supplying string array, 'flag' = SORT_STRING --\n"; 76 -- Testing sort() by supplying string array, 'flag' value is default -- 97 -- Testing sort() by supplying numeric array, 'flag' value is default -- 110 -- Testing sort() by supplying string array, 'flag' = SORT_REGULAR -- 131 -- Testing sort() by supplying numeric array, 'flag' = SORT_REGULAR -- 144 -- Testing sort() by supplying string array, 'flag' = SORT_STRING -- [all …]
|
H A D | arsort_basic.phpt | 6 * Testing arsort() by providing integer/string arrays to check the basic functionality 25 echo "\n-- Testing arsort() by supplying string array, 'flag' value is default --\n"; 35 echo "\n-- Testing arsort() by supplying string array, 'flag' = SORT_REGULAR --\n"; 40 echo "\n-- Testing arsort() by supplying numeric array, 'flag' = SORT_REGULAR --\n"; 45 echo "\n-- Testing arsort() by supplying string array, 'flag' = SORT_STRING --\n"; 75 -- Testing arsort() by supplying string array, 'flag' value is default -- 96 -- Testing arsort() by supplying numeric array, 'flag' value is default -- 109 -- Testing arsort() by supplying string array, 'flag' = SORT_REGULAR -- 130 -- Testing arsort() by supplying numeric array, 'flag' = SORT_REGULAR -- 143 -- Testing arsort() by supplying string array, 'flag' = SORT_STRING -- [all …]
|
H A D | asort_basic.phpt | 6 * Testing asort() by providing integer/string arrays to check the basic functionality 25 echo "\n-- Testing asort() by supplying string array, 'flag' value is default --\n"; 35 echo "\n-- Testing asort() by supplying string array, 'flag' = SORT_REGULAR --\n"; 40 echo "\n-- Testing asort() by supplying numeric array, 'flag' = SORT_REGULAR --\n"; 45 echo "\n-- Testing asort() by supplying string array, 'flag' = SORT_STRING --\n"; 75 -- Testing asort() by supplying string array, 'flag' value is default -- 96 -- Testing asort() by supplying numeric array, 'flag' value is default -- 109 -- Testing asort() by supplying string array, 'flag' = SORT_REGULAR -- 130 -- Testing asort() by supplying numeric array, 'flag' = SORT_REGULAR -- 143 -- Testing asort() by supplying string array, 'flag' = SORT_STRING -- [all …]
|
H A D | krsort_basic.phpt | 26 echo "\n-- Testing krsort() by supplying string array, 'flag' value is default --\n"; 36 echo "\n-- Testing krsort() by supplying string array, 'flag' = SORT_REGULAR --\n"; 41 echo "\n-- Testing krsort() by supplying numeric array, 'flag' = SORT_REGULAR --\n"; 46 echo "\n-- Testing krsort() by supplying string array, 'flag' = SORT_STRING --\n"; 76 -- Testing krsort() by supplying string array, 'flag' value is default -- 97 -- Testing krsort() by supplying numeric array, 'flag' value is default -- 110 -- Testing krsort() by supplying string array, 'flag' = SORT_REGULAR -- 131 -- Testing krsort() by supplying numeric array, 'flag' = SORT_REGULAR -- 144 -- Testing krsort() by supplying string array, 'flag' = SORT_STRING -- 186 -- Testing krsort() by supplying string array (natural), 'flag' = SORT_NATURAL -- [all …]
|
H A D | ksort_basic.phpt | 24 echo "\n-- Testing ksort() by supplying string array, 'flag' value is default --\n"; 34 echo "\n-- Testing ksort() by supplying string array, 'flag' = SORT_REGULAR --\n"; 39 echo "\n-- Testing ksort() by supplying numeric array, 'flag' = SORT_REGULAR --\n"; 44 echo "\n-- Testing ksort() by supplying string array, 'flag' = SORT_STRING --\n"; 74 -- Testing ksort() by supplying string array, 'flag' value is default -- 95 -- Testing ksort() by supplying numeric array, 'flag' value is default -- 108 -- Testing ksort() by supplying string array, 'flag' = SORT_REGULAR -- 129 -- Testing ksort() by supplying numeric array, 'flag' = SORT_REGULAR -- 142 -- Testing ksort() by supplying string array, 'flag' = SORT_STRING -- 184 -- Testing ksort() by supplying string array (natural), 'flag' = SORT_NATURAL -- [all …]
|
H A D | ksort_variation4.phpt | 6 …* testing ksort() by providing array of boolean values for $array argument with following flag val… 16 echo "\n-- Testing ksort() by supplying boolean value array, 'flag' value is default --\n"; 21 echo "\n-- Testing ksort() by supplying boolean value array, 'flag' value is SORT_REGULAR --\n"; 26 echo "\n-- Testing ksort() by supplying boolean value array, 'flag' value is SORT_NUMERIC --\n"; 31 echo "\n-- Testing ksort() by supplying boolean value array, 'flag' value is SORT_STRING --\n"; 41 -- Testing ksort() by supplying boolean value array, 'flag' value is default -- 50 -- Testing ksort() by supplying boolean value array, 'flag' value is SORT_REGULAR -- 59 -- Testing ksort() by supplying boolean value array, 'flag' value is SORT_NUMERIC -- 68 -- Testing ksort() by supplying boolean value array, 'flag' value is SORT_STRING --
|
H A D | krsort_variation11.phpt | 6 …* testing krsort() by providing array of boolean values for $array argument with following flag va… 16 echo "\n-- Testing krsort() by supplying boolean value array, 'flag' value is default --\n"; 21 echo "\n-- Testing krsort() by supplying boolean value array, 'flag' value is SORT_REGULAR --\n"; 26 echo "\n-- Testing krsort() by supplying boolean value array, 'flag' value is SORT_NUMERIC --\n"; 31 echo "\n-- Testing krsort() by supplying boolean value array, 'flag' value is SORT_STRING --\n"; 41 -- Testing krsort() by supplying boolean value array, 'flag' value is default -- 50 -- Testing krsort() by supplying boolean value array, 'flag' value is SORT_REGULAR -- 59 -- Testing krsort() by supplying boolean value array, 'flag' value is SORT_NUMERIC -- 68 -- Testing krsort() by supplying boolean value array, 'flag' value is SORT_STRING --
|
H A D | arsort_variation7.phpt | 6 * testing arsort() by providing bool value array for $array argument with following flag values. 16 echo "\n-- Testing arsort() by supplying bool value array, 'flag' value is default --\n"; 21 echo "\n-- Testing arsort() by supplying bool value array, 'flag' value is SORT_REGULAR --\n"; 26 echo "\n-- Testing arsort() by supplying bool value array, 'flag' value is SORT_NUMERIC --\n"; 31 echo "\n-- Testing arsort() by supplying bool value array, 'flag' value is SORT_STRING --\n"; 41 -- Testing arsort() by supplying bool value array, 'flag' value is default -- 54 -- Testing arsort() by supplying bool value array, 'flag' value is SORT_REGULAR -- 67 -- Testing arsort() by supplying bool value array, 'flag' value is SORT_NUMERIC -- 80 -- Testing arsort() by supplying bool value array, 'flag' value is SORT_STRING --
|
H A D | asort_variation7.phpt | 6 * testing asort() by providing bool value array for $array argument with following flag values. 16 echo "\n-- Testing asort() by supplying bool value array, 'flag' value is default --\n"; 21 echo "\n-- Testing asort() by supplying bool value array, 'flag' value is SORT_REGULAR --\n"; 26 echo "\n-- Testing asort() by supplying bool value array, 'flag' value is SORT_NUMERIC --\n"; 31 echo "\n-- Testing asort() by supplying bool value array, 'flag' value is SORT_STRING --\n"; 41 -- Testing asort() by supplying bool value array, 'flag' value is default -- 54 -- Testing asort() by supplying bool value array, 'flag' value is SORT_REGULAR -- 67 -- Testing asort() by supplying bool value array, 'flag' value is SORT_NUMERIC -- 80 -- Testing asort() by supplying bool value array, 'flag' value is SORT_STRING --
|
H A D | sort_variation7.phpt | 6 * testing sort() by providing bool value array for $array argument with following flag values. 16 echo "\n-- Testing sort() by supplying bool value array, 'flag' value is default --\n"; 21 echo "\n-- Testing sort() by supplying bool value array, 'flag' value is SORT_REGULAR --\n"; 26 echo "\n-- Testing sort() by supplying bool value array, 'flag' value is SORT_NUMERIC --\n"; 31 echo "\n-- Testing sort() by supplying bool value array, 'flag' value is SORT_STRING --\n"; 41 -- Testing sort() by supplying bool value array, 'flag' value is default -- 54 -- Testing sort() by supplying bool value array, 'flag' value is SORT_REGULAR -- 67 -- Testing sort() by supplying bool value array, 'flag' value is SORT_NUMERIC -- 80 -- Testing sort() by supplying bool value array, 'flag' value is SORT_STRING --
|
H A D | arsort_variation4.phpt | 6 * Testing arsort() by providing reference variable array with following flag values 21 echo "\n-- Testing arsort() by supplying reference variable array, 'flag' value is default --\n"; 26 echo "\n-- Testing arsort() by supplying reference variable array, 'flag' = SORT_REGULAR --\n"; 31 echo "\n-- Testing arsort() by supplying reference variable array, 'flag' = SORT_NUMERIC --\n"; 41 -- Testing arsort() by supplying reference variable array, 'flag' value is default -- 52 -- Testing arsort() by supplying reference variable array, 'flag' = SORT_REGULAR -- 63 -- Testing arsort() by supplying reference variable array, 'flag' = SORT_NUMERIC --
|
H A D | asort_variation4.phpt | 6 * Testing asort() by providing reference variable array with following flag values 21 echo "\n-- Testing asort() by supplying reference variable array, 'flag' value is default --\n"; 26 echo "\n-- Testing asort() by supplying reference variable array, 'flag' = SORT_REGULAR --\n"; 31 echo "\n-- Testing asort() by supplying reference variable array, 'flag' = SORT_NUMERIC --\n"; 41 -- Testing asort() by supplying reference variable array, 'flag' value is default -- 52 -- Testing asort() by supplying reference variable array, 'flag' = SORT_REGULAR -- 63 -- Testing asort() by supplying reference variable array, 'flag' = SORT_NUMERIC --
|
H A D | sort_variation4.phpt | 6 * Testing sort() by providing reference variable array with following flag values 21 echo "\n-- Testing sort() by supplying reference variable array, 'flag' value is default --\n"; 26 echo "\n-- Testing sort() by supplying reference variable array, 'flag' = SORT_REGULAR --\n"; 31 echo "\n-- Testing sort() by supplying reference variable array, 'flag' = SORT_NUMERIC --\n"; 41 -- Testing sort() by supplying reference variable array, 'flag' value is default -- 52 -- Testing sort() by supplying reference variable array, 'flag' = SORT_REGULAR -- 63 -- Testing sort() by supplying reference variable array, 'flag' = SORT_NUMERIC --
|
H A D | arsort_variation10.phpt | 6 …* testing arsort() by providing different octal array for $array argument with following flag valu… 20 echo "\n-- Testing arsort() by supplying octal value array, 'flag' value is default --\n"; 25 echo "\n-- Testing arsort() by supplying octal value array, 'flag' value is SORT_REGULAR --\n"; 30 echo "\n-- Testing arsort() by supplying octal value array, 'flag' value is SORT_NUMERIC --\n"; 40 -- Testing arsort() by supplying octal value array, 'flag' value is default -- 63 -- Testing arsort() by supplying octal value array, 'flag' value is SORT_REGULAR -- 86 -- Testing arsort() by supplying octal value array, 'flag' value is SORT_NUMERIC --
|
/php-src/Zend/tests/ |
H A D | bug67856.phpt | 2 Bug #67856 (Leak when using array_reduce with by-ref function) 11 Warning: {closure:%s:%d}(): Argument #1 ($a) must be passed by reference, value given in %s on line… 13 Warning: {closure:%s:%d}(): Argument #2 ($b) must be passed by reference, value given in %s on line… 15 Warning: {closure:%s:%d}(): Argument #1 ($a) must be passed by reference, value given in %s on line… 17 Warning: {closure:%s:%d}(): Argument #2 ($b) must be passed by reference, value given in %s on line… 19 Warning: {closure:%s:%d}(): Argument #1 ($a) must be passed by reference, value given in %s on line… 21 Warning: {closure:%s:%d}(): Argument #2 ($b) must be passed by reference, value given in %s on line…
|
H A D | call_user_func_008.phpt | 28 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d 30 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d 35 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d 37 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d 42 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d 44 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d 49 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d 51 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d
|
H A D | unpack_iterator_by_ref_type_check.phpt | 2 Unpack iterator by reference with type check 17 Warning: Cannot pass by-reference argument 1 of test() by unpacking a Traversable, passing by-value…
|
H A D | bug79979.phpt | 2 Bug #79979 (passing value to by-ref param via CUF(A) crashes) 16 Warning: str_replace(): Argument #4 ($count) must be passed by reference, value given in %s on line… 18 Warning: str_replace(): Argument #4 ($count) must be passed by reference, value given in %s on line… 20 Warning: str_replace(): Argument #4 ($count) must be passed by reference, value given in %s on line… 22 Warning: str_replace(): Argument #4 ($count) must be passed by reference, value given in %s on line…
|
/php-src/tests/lang/ |
H A D | passByReference_006.phpt | 2 Pass uninitialized objects and arrays by reference to test implicit initialisation. 31 echo "\n ---- Pass uninitialized array & object by ref: function call ---\n"; 36 echo "\n ---- Pass uninitialized arrays & objects by ref: static method call ---\n"; 41 echo "\n\n---- Pass uninitialized arrays & objects by ref: constructor ---\n"; 46 echo "\n ---- Pass uninitialized arrays & objects by ref: instance method call ---\n"; 53 ---- Pass uninitialized array & object by ref: function call --- 66 ---- Pass uninitialized arrays & objects by ref: static method call --- 80 ---- Pass uninitialized arrays & objects by ref: constructor --- 93 ---- Pass uninitialized arrays & objects by ref: instance method call ---
|
H A D | passByReference_003.phpt | 2 Implicit initialisation when passing by reference 15 echo "\nPassing undefined by value\n"; 20 echo "\nPassing undefined by reference\n"; 26 Passing undefined by value 40 Passing undefined by reference
|
/php-src/ext/spl/tests/ |
H A D | heap_009.phpt | 2 SPL: SplHeap and friends, throw: An iterator cannot be used with foreach by reference 49 An iterator cannot be used with foreach by reference 50 An iterator cannot be used with foreach by reference 51 An iterator cannot be used with foreach by reference 52 An iterator cannot be used with foreach by reference 53 An iterator cannot be used with foreach by reference 54 An iterator cannot be used with foreach by reference
|
/php-src/ext/bcmath/tests/ |
H A D | bcmod_error2.phpt | 2 bcmod() - mod by 0 26 Modulo by zero 27 Modulo by zero 28 Modulo by zero
|
/php-src/ext/pgsql/tests/ |
H A D | gh13354.phpt | 2 GH-13354 (null-by-reference handling in pg_execute, pg_send_query_params, pg_send_execute) 28 echo "pg_execute, null value by reference: " . pg_fetch_result($res, 0, 0) . "\n"; 38 echo "pg_query_params, null value by reference: " . pg_fetch_result($res, 0, 0) . "\n"; 52 echo "pg_send_query_params, null value by reference: " . pg_fetch_result($res, 0, 0) . "\n"; 66 echo "pg_send_execute, null value by reference: " . pg_fetch_result($res, 0, 0) . "\n"; 74 pg_execute, null value by reference: t 76 pg_query_params, null value by reference: t 78 pg_send_query_params, null value by reference: t 80 pg_send_execute, null value by reference: t
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionParameter_002.phpt | 26 echo "This param is passed by reference\n"; 28 echo "This param is not passed by reference\n"; 41 echo "This param is passed by reference\n"; 43 echo "This param is not passed by reference\n"; 58 This param is passed by reference 64 This param is not passed by reference 72 This param is not passed by reference 78 This param is passed by reference
|
/php-src/ext/date/tests/ |
H A D | DateTimeZone_uninitialised_exceptions.phpt | 48 …yDateTimeZone (inheriting DateTimeZone) has not been correctly initialized by calling parent::__co… 49 …yDateTimeZone (inheriting DateTimeZone) has not been correctly initialized by calling parent::__co… 50 …yDateTimeZone (inheriting DateTimeZone) has not been correctly initialized by calling parent::__co… 51 …yDateTimeZone (inheriting DateTimeZone) has not been correctly initialized by calling parent::__co… 52 …yDateTimeZone (inheriting DateTimeZone) has not been correctly initialized by calling parent::__co… 53 …f type MyDateTime (inheriting DateTime) has not been correctly initialized by calling parent::__co… 54 …f type MyDateTime (inheriting DateTime) has not been correctly initialized by calling parent::__co… 55 …yDateTimeZone (inheriting DateTimeZone) has not been correctly initialized by calling parent::__co… 56 …yDateTimeZone (inheriting DateTimeZone) has not been correctly initialized by calling parent::__co… 57 …yDateTimeZone (inheriting DateTimeZone) has not been correctly initialized by calling parent::__co… [all …]
|