Home
last modified time | relevance | path

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

12345678910>>...13

/php-src/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
36 $dll->add(0, $str);
37 $dll->add(0, $str);
43 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'));
/php-src/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";
56 . $start->add($interval)->format($date_format) . "\n";
H A Dbug-gh9106.phpt13 $t1 = $start->add($oneAndHalfSec);
14 $t2 = $t1->add($oneAndHalfSec);
15 $t3 = $t2->add($oneAndHalfSec);
16 $t4 = $t3->add($oneAndHalfSec);
H A Dbug81106.phpt2 Bug #81106: Regression in 8.1: add() now truncate ->f
8 echo (new DateTimeImmutable('2000-01-01 00:00:00'))->add($dateInterval)->format('Y-m-d H:i:s.u');
H A Drfc-datetime_and_daylight_saving_time-type1.phpt53 * Forward Transitions, add().
60 . $start->add($interval)->format($date_format) . "\n";
66 . $start->add($interval)->format($date_format) . "\n";
72 . $start->add($interval)->format($date_format) . "\n";
78 . $start->add($interval)->format($date_format) . "\n";
84 . $start->add($interval)->format($date_format) . "\n";
90 . $start->add($interval)->format($date_format) . "\n";
188 * Backward Transitions, add().
195 . $start->add($interval)->format($date_format) . "\n";
201 . $start->add($interval)->format($date_format) . "\n";
[all …]
H A Dbug80610.phpt8 $expectEaster->add($interval);
14 $expectEaster->add($interval);
20 $expectEaster->add($interval);
/php-src/ext/intl/tests/
H A Dcalendar_add_basic.phpt2 IntlCalendar::add() basic test
17 $intlcal->add(IntlCalendar::FIELD_DAY_OF_MONTH, 1);
18 $intlcal->add(IntlCalendar::FIELD_HOUR, 5);
19 $intlcal->add(IntlCalendar::FIELD_MINUTE, 6);
/php-src/.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
120 add: olcDbIndex
/php-src/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-src/ext/curl/tests/
H A Dcurl_copy_handle_variation2.phpt2 Test curl_copy_handle() add options to the handles
13 echo "*** Testing curl_copy_handle(): add options after copy ***\n";
22 // add some CURLOPT to the second handle
27 // add same CURLOPT to the first handle
36 *** Testing curl_copy_handle(): add options after copy ***
/php-src/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-src/ext/com_dotnet/tests/
H A Dvariants.phpt48 add: 84
62 add: 45.5
76 add:
138 add: 42
178 add: 7
192 add:
280 add:
342 add:
462 add:
552 add:
[all …]
H A Dvariants_x64.phpt51 add: 84
65 add: 45.5
79 add:
141 add: 42
181 add: 7
195 add:
283 add:
345 add:
465 add:
555 add:
[all …]
/php-src/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-src/ext/zip/tests/
H A Dbug64342_0.phpt15 echo "add ok\n";
17 echo "add failed\n";
41 add failed
/php-src/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-src/win32/
H A Dsignal.c92 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-src/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

Completed in 35 milliseconds

12345678910>>...13