Home
last modified time | relevance | path

Searched refs:decremented (Results 1 – 5 of 5) sorted by relevance

/php-src/Zend/tests/numeric_strings/
H A Dtrailling_whitespaces.phpt49 $decremented = $string;
50 --$decremented;
51 \assert(\is_int($decremented) || \is_float($decremented));
52 \assert($decremented == 122);
/php-src/ext/opcache/tests/jit/
H A Dfetch_r_001.phpt2 FETCH_R: 001 result reference counter may be decremented before use
/php-src/tests/lang/
H A DforeachLoop.010.phpt2 This test illustrates the impact of invoking destructors when refcount is decremented to 0 on forea…
20 // However, P8 does not invoke 'destructors' when refcount is decremented to 0.
/php-src/ext/standard/tests/strings/
H A Dstr_decrement_underflow.phpt2 str_decrement(): Out of Range ValueErrors for strings that cannot be decremented
/php-src/ext/standard/
H A Dstring.c1322 char c = ZSTR_VAL(decremented)[position]; in PHP_FUNCTION()
1326 ZSTR_VAL(decremented)[position]--; in PHP_FUNCTION() local
1330 ZSTR_VAL(decremented)[position] = '9'; in PHP_FUNCTION() local
1332 ZSTR_VAL(decremented)[position] += 25; in PHP_FUNCTION() local
1337 if (UNEXPECTED(carry || (ZSTR_VAL(decremented)[0] == '0' && ZSTR_LEN(decremented) > 1))) { in PHP_FUNCTION()
1338 if (ZSTR_LEN(decremented) == 1) { in PHP_FUNCTION()
1339 zend_string_release_ex(decremented, /* persistent */ false); in PHP_FUNCTION()
1344 memcpy(ZSTR_VAL(tmp), ZSTR_VAL(decremented) + 1, ZSTR_LEN(decremented) - 1); in PHP_FUNCTION()
1345 ZSTR_VAL(tmp)[ZSTR_LEN(decremented) - 1] = '\0'; in PHP_FUNCTION()
1346 zend_string_release_ex(decremented, /* persistent */ false); in PHP_FUNCTION()
[all …]

Completed in 27 milliseconds