/php-src/ext/spl/tests/ |
H A D | dllist_013.phpt | 8 $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 D | SplDoublyLinkedList_add_null_offset.phpt | 2 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 D | SplDoublyLinkedList_add_invalid_offset.phpt | 2 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 D | bug40872.phpt | 14 public function add(Project $item) { 20 $projects->add(new Project('1')); 21 $projects->add(new Project(2));
|
H A D | array_005.phpt | 54 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/dom/tests/modern/token_list/ |
H A D | add.phpt | 2 TokenList: add 11 $list->add(); 12 $list->add('a', 'b'); 13 $list->add('c'); 18 $list->add($ref); 23 $list->add('e');
|
H A D | add_errors.phpt | 2 TokenList: add errors 12 $list->add(""); 17 $list->add(" "); 22 $list->add("\0"); 27 $list->add(0); 38 Dom\TokenList::add(): Argument #1 must not contain any null bytes 39 Dom\TokenList::add(): Argument #1 must be of type string, int given
|
/php-src/ext/date/tests/ |
H A D | rfc-datetime_and_daylight_saving_time-type3-ba.phpt | 13 * 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 D | bug-gh9106.phpt | 13 $t1 = $start->add($oneAndHalfSec); 14 $t2 = $t1->add($oneAndHalfSec); 15 $t3 = $t2->add($oneAndHalfSec); 16 $t4 = $t3->add($oneAndHalfSec);
|
H A D | rfc-datetime_and_daylight_saving_time-type3-fa.phpt | 13 * 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 D | bug81106.phpt | 2 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 D | rfc-datetime_and_daylight_saving_time-type1.phpt | 53 * 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 …]
|
/php-src/ext/intl/tests/ |
H A D | calendar_add_basic.phpt | 2 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 D | setup-slapd.sh | 63 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 D | dtor_scope.phpt | 9 public function add($a) 24 $t->add("Hello"); 25 $t->add("World");
|
H A D | bug20240.phpt | 23 function add() { 31 $t->add(); 32 $t->add();
|
H A D | closure_024.phpt | 7 $c = function($add) use(&$a) { return $a+$add; };
|
/php-src/ext/curl/tests/ |
H A D | curl_copy_handle_variation2.phpt | 2 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 D | fpm_atomic.h | 28 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 D | variants.phpt | 48 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 D | variants_x64.phpt | 51 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 D | scalar_constant_defaults.phpt | 55 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 D | bug64342_0.phpt | 15 echo "add ok\n"; 17 echo "add failed\n"; 41 add failed
|
/php-src/Zend/tests/array_unpack/ |
H A D | already_occupied.phpt | 31 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 D | signal.c | 92 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()
|