/hphp/test/slow/php7_bcbreak/5/ext_string/substr.php
PHP | 7 lines | 6 code | 1 blank | 0 comment | 0 complexity | c17e597d24eeef58c130f6ea585dade2 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?hh
- <<__EntryPoint>>
- function main_substr() {
- var_dump(substr('', 0, 1));
- var_dump(substr('ab', 3, 1));
- }