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.c1354 char c = ZSTR_VAL(decremented)[position]; in PHP_FUNCTION()
1358 ZSTR_VAL(decremented)[position]--; in PHP_FUNCTION() local
1362 ZSTR_VAL(decremented)[position] = '9'; in PHP_FUNCTION() local
1364 ZSTR_VAL(decremented)[position] += 25; in PHP_FUNCTION() local
1369 if (UNEXPECTED(carry || (ZSTR_VAL(decremented)[0] == '0' && ZSTR_LEN(decremented) > 1))) { in PHP_FUNCTION()
1370 if (ZSTR_LEN(decremented) == 1) { in PHP_FUNCTION()
1371 zend_string_release_ex(decremented, /* persistent */ false); in PHP_FUNCTION()
1376 memcpy(ZSTR_VAL(tmp), ZSTR_VAL(decremented) + 1, ZSTR_LEN(decremented) - 1); in PHP_FUNCTION()
1377 ZSTR_VAL(tmp)[ZSTR_LEN(decremented) - 1] = '\0'; in PHP_FUNCTION()
1378 zend_string_release_ex(decremented, /* persistent */ false); in PHP_FUNCTION()
[all …]

Completed in 22 milliseconds