Home
last modified time | relevance | path

Searched refs:add (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/PHP-8.0/ext/spl/tests/
H A Ddllist_013.phpt8 $dll->add(2,5);
13 $dll->add(0,6); // 6
14 $dll->add(0,3); // 3 6
16 $dll->add(1,4); // 3 4 6
17 $dll->add(2,5); // 3 4 5 6
20 $dll->add(0,1); // 1 2 3 4 5 6
21 $dll->add(6,7); // 1 2 3 4 5 6 7
34 Exception: SplDoublyLinkedList::add(): Argument #1 ($index) is out of range
H A DSplDoublyLinkedList_add_null_offset.phpt2 Check that SplDoublyLinkedList::add throws an exception with an invalid offset argument
7 var_dump($dll->add([],2));
13 Exception: SplDoublyLinkedList::add(): Argument #1 ($index) must be of type int, array given
H A DSplDoublyLinkedList_add_invalid_offset.phpt2 Check that SplDoublyLinkedList::add throws an exception with an invalid offset argument
7 var_dump($dll->add(12,'Offset 12 should not exist'));
13 Exception: SplDoublyLinkedList::add(): Argument #1 ($index) is out of range
H A Dbug40872.phpt14 public function add(Project $item) {
20 $projects->add(new Project('1'));
21 $projects->add(new Project(2));
H A Darray_005.phpt54 public function add(Student $student)
78 $students->add(new Student('01234123', 'Joe'));
79 $students->add(new Student('00000014', 'Bob'));
80 $students->add(new Student('00000014', 'Foo'));
H A Diterator_003.phpt54 public function add(Student $student)
78 $students->add(new Student('01234123', 'Joe'));
79 $students->add(new Student('00000014', 'Bob'));
80 $students->add(new Student('00000014', 'Foo'));
/PHP-8.0/ext/date/tests/
H A Drfc-datetime_and_daylight_saving_time-type3-ba.phpt13 * Backward Transitions, add().
20 . $start->add($interval)->format($date_format) . "\n";
26 . $start->add($interval)->format($date_format) . "\n";
32 . $start->add($interval)->format($date_format) . "\n";
38 . $start->add($interval)->format($date_format) . "\n";
44 . $start->add($interval)->format($date_format) . "\n";
50 . $start->add($interval)->format($date_format) . "\n";
56 . $start->add($interval)->format($date_format) . "\n";
62 . $start->add($interval)->format($date_format) . "\n";
68 . $start->add($interval)->format($date_format) . "\n";
[all …]
H A Drfc-datetime_and_daylight_saving_time-type3-fa.phpt13 * Forward Transitions, add().
20 . $start->add($interval)->format($date_format) . "\n";
26 . $start->add($interval)->format($date_format) . "\n";
32 . $start->add($interval)->format($date_format) . "\n";
38 . $start->add($interval)->format($date_format) . "\n";
44 . $start->add($interval)->format($date_format) . "\n";
50 . $start->add($interval)->format($date_format) . "\n";
H A Drfc-datetime_and_daylight_saving_time-type1.phpt54 * Forward Transitions, add().
61 . $start->add($interval)->format($date_format) . "\n";
67 . $start->add($interval)->format($date_format) . "\n";
73 . $start->add($interval)->format($date_format) . "\n";
79 . $start->add($interval)->format($date_format) . "\n";
85 . $start->add($interval)->format($date_format) . "\n";
91 . $start->add($interval)->format($date_format) . "\n";
190 * Backward Transitions, add().
197 . $start->add($interval)->format($date_format) . "\n";
203 . $start->add($interval)->format($date_format) . "\n";
[all …]
/PHP-8.0/ext/intl/tests/
H A Dcalendar_add_basic.phpt2 IntlCalendar::add() basic test
19 $intlcal->add(IntlCalendar::FIELD_DAY_OF_MONTH, 1);
20 $intlcal->add(IntlCalendar::FIELD_HOUR, 5);
21 $intlcal->add(IntlCalendar::FIELD_MINUTE, 6);
/PHP-8.0/Zend/tests/
H A Ddtor_scope.phpt9 public function add($a)
24 $t->add("Hello");
25 $t->add("World");
H A Dbug20240.phpt23 function add() {
31 $t->add();
32 $t->add();
H A Dclosure_024.phpt7 $c = function($add) use(&$a) { return $a+$add; };
/PHP-8.0/.github/scripts/
H A Dsetup-slapd.sh63 add: olcTLSCACertificateFile
66 add: olcTLSCertificateFile
69 add: olcTLSCertificateKeyFile
72 add: olcTLSVerifyClient
75 add: olcAuthzRegexp
83 add: olcModuleLoad
86 add: olcModuleLoad
89 add: olcModuleLoad
124 add: olcDbIndex
/PHP-8.0/ext/curl/tests/
H A Dcurl_copy_handle_variation2.phpt2 Test curl_copy_handle() add options to the handles
15 echo "*** Testing curl_copy_handle(): add options after copy ***\n";
24 // add some CURLOPT to the second handle
29 // add same CURLOPT to the first handle
38 *** Testing curl_copy_handle(): add options after copy ***
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_atomic.h28 static inline atomic_int_t atomic_fetch_add(atomic_t *value, atomic_int_t add) /* {{{ */ in atomic_fetch_add() argument
31 "+r" (add) : "m" (*value) : "memory"); in atomic_fetch_add()
33 return add; in atomic_fetch_add()
54 static inline atomic_int_t atomic_fetch_add(atomic_t *value, atomic_int_t add) /* {{{ */ in atomic_fetch_add() argument
57 "+r" (add) : "m" (*value) : "memory"); in atomic_fetch_add()
59 return add; in atomic_fetch_add()
/PHP-8.0/ext/com_dotnet/tests/
H A Dvariants.phpt47 add: 84
61 add: 45.5
75 add:
137 add: 42
177 add: 7
191 add:
279 add:
341 add:
461 add:
551 add:
[all …]
H A Dvariants_x64.phpt50 add: 84
64 add: 45.5
78 add:
140 add: 42
180 add: 7
194 add:
282 add:
344 add:
464 add:
554 add:
[all …]
H A Dbug34272.phpt12 $dict->add('foo', array());
14 $dict->add('bar', array(23));
/PHP-8.0/Zend/tests/array_unpack/
H A Dalready_occupied.phpt31 Cannot add element to the array as the next element is already occupied
32 Cannot add element to the array as the next element is already occupied
33 Cannot add element to the array as the next element is already occupied
/PHP-8.0/Zend/tests/type_declarations/
H A Dscalar_constant_defaults.phpt55 echo "Testing int add val" . PHP_EOL;
58 echo "Testing float add val" . PHP_EOL;
61 echo "Testing string add val" . PHP_EOL;
92 Testing int add val
94 Testing float add val
96 Testing string add val
/PHP-8.0/ext/zip/tests/
H A Dbug64342_0.phpt17 echo "add ok\n";
19 echo "add failed\n";
43 add failed
/PHP-8.0/win32/
H A Dsignal.c92 zend_bool add = 1; in PHP_FUNCTION() local
96 if (zend_parse_parameters(ZEND_NUM_ARGS(), "f!|b", &fci, &fcc, &add) == FAILURE) { in PHP_FUNCTION()
115 if (!SetConsoleCtrlHandler(NULL, add)) { in PHP_FUNCTION()
121 …oleCtrlHandler(NULL, FALSE) || !SetConsoleCtrlHandler(php_win32_signal_system_ctrl_handler, add)) { in PHP_FUNCTION()
/PHP-8.0/ext/simplexml/tests/
H A D031.phpt21 /* Try to add attribute again -> display warning as method is for new Attr only */
28 /* Try to add element to attribute -> display warning and do not add */
41 /* Does not add prefix here although name is valid (but discouraged) - change behavior? */
49 Warning: SimpleXMLElement::addChild(): Cannot add element to attributes in %s031.php on line %d
/PHP-8.0/Zend/tests/generators/
H A Dbug71441.phpt7 $add = str_repeat("1 +", $num);
12 \$foo = \$a + $add \$a;

Completed in 25 milliseconds

12345678910>>...13