Home
last modified time | relevance | path

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

12345678910>>...13

/PHP-7.4/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
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 DSplDoublyLinkedList_add_null_offset.phpt2 Check that SplDoublyLinkedList::add throws an exception with an invalid offset argument
7 var_dump($dll->add(NULL,2));
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'));
/PHP-7.4/ext/intl/tests/
H A Dcalendar_add_error.phpt2 IntlCalendar::add(): bad arguments
15 var_dump($c->add(1, 2, 3));
16 var_dump($c->add(-1, 2));
17 var_dump($c->add(1));
22 Warning: IntlCalendar::add() expects exactly 2 parameters, 3 given in %s on line %d
24 Warning: IntlCalendar::add(): intlcal_add: bad arguments in %s on line %d
27 Warning: IntlCalendar::add(): intlcal_add: invalid field in %s on line %d
30 Warning: IntlCalendar::add() expects exactly 2 parameters, 1 given in %s on line %d
32 Warning: IntlCalendar::add(): intlcal_add: bad arguments in %s on line %d
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-7.4/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-7.4/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-7.4/ext/xmlrpc/tests/
H A Dbug47818.phpt20 xmlrpc_server_register_method($this->s, 'add', array($this, 'impl'));
32 $resp = $x->call(xmlrpc_encode_request('add', array(1, 2, 3)));
40 Inside impl(): add
41 Global scope: add
/PHP-7.4/azure/
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-7.4/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
39 *** Testing curl_copy_handle(): add options after copy ***
/PHP-7.4/Zend/tests/type_declarations/
H A Dscalar_constant_defaults.phpt51 echo "Testing int add val" . PHP_EOL;
54 echo "Testing float add val" . PHP_EOL;
57 echo "Testing string add val" . PHP_EOL;
74 Testing int add val
76 Testing float add val
78 Testing string add val
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_atomic.h32 static inline atomic_int_t atomic_fetch_add(atomic_t *value, atomic_int_t add) /* {{{ */ in atomic_fetch_add() argument
35 "+r" (add) : "m" (*value) : "memory"); in atomic_fetch_add()
37 return add; in atomic_fetch_add()
58 static inline atomic_int_t atomic_fetch_add(atomic_t *value, atomic_int_t add) /* {{{ */ in atomic_fetch_add() argument
61 "+r" (add) : "m" (*value) : "memory"); in atomic_fetch_add()
63 return add; in atomic_fetch_add()
/PHP-7.4/ext/zip/tests/
H A Dbug64342_0.phpt17 echo "add ok\n";
19 echo "add failed\n";
40 add failed
/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.h65 void simplestring_add(simplestring* string, const char* add);
66 void simplestring_addn(simplestring* string, const char* add, size_t add_len);
/PHP-7.4/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 …]
/PHP-7.4/Zend/tests/array_unpack/
H A Dalready_occupied.phpt19 Warning: Cannot add element to the array as the next element is already occupied in %s on line %d
27 Warning: Cannot add element to the array as the next element is already occupied in %s on line %d
35 Warning: Cannot add element to the array as the next element is already occupied in %s on line %d
/PHP-7.4/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? */
50 Warning: SimpleXMLElement::addChild(): Cannot add element to attributes in %s031.php on line %d
/PHP-7.4/win32/
H A Dsignal.c94 zend_bool add = 1; in PHP_FUNCTION() local
108 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|b", &handler, &add) == FAILURE) { in PHP_FUNCTION()
115 if (!SetConsoleCtrlHandler(NULL, add)) { in PHP_FUNCTION()
128 …oleCtrlHandler(NULL, FALSE) || !SetConsoleCtrlHandler(php_win32_signal_system_ctrl_handler, add)) { in PHP_FUNCTION()

Completed in 96 milliseconds

12345678910>>...13