rfc:strncmpnegativelen
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:strncmpnegativelen [2011/08/13 12:18] – laruence | rfc:strncmpnegativelen [2011/08/14 14:59] – [Introduction] laruence | ||
---|---|---|---|
Line 22: | Line 22: | ||
</ | </ | ||
- | but we know substr supports a negative length as its parameter: | + | We need to some codes like following one to do: |
<code php> | <code php> | ||
<?php | <?php | ||
- | echo substr(" | + | if (strncmp(substr(" |
+ | echo "they have same suffix\n" | ||
+ | } | ||
+ | ?> | ||
</ | </ | ||
Line 61: | Line 64: | ||
===== Vote ===== | ===== Vote ===== | ||
< | < | ||
- | title=" | + | title=" |
* yes | * yes | ||
* no | * no | ||
Line 72: | Line 75: | ||
* 2011-08-08 Xinchen Hui: Edited phpt | * 2011-08-08 Xinchen Hui: Edited phpt | ||
* 2011-08-13 Xinchen Hui: Stop voting | * 2011-08-13 Xinchen Hui: Stop voting | ||
+ | * 2011-08-14 Xinchen Hui: Open voting again, since there comes some new objections |
rfc/strncmpnegativelen.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1