@@ -2304,8 +2304,8 @@ PHP_FUNCTION(substr)
2304
2304
/* {{{ proto boolean str_begins(string haystack, string needle)
2305
2305
Checks if haystack begins with needle */
2306
2306
PHP_FUNCTION (str_begins ) {
2307
- zend_string * haystack , * needle ;
2308
- int i ;
2307
+ zend_string * haystack , * needle ;
2308
+ int i ;
2309
2309
2310
2310
ZEND_PARSE_PARAMETERS_START (2 , 2 )
2311
2311
Z_PARAM_STR (haystack )
@@ -2319,14 +2319,14 @@ PHP_FUNCTION(str_begins) {
2319
2319
for (i = 0 ; i < needle -> len ; i ++ )
2320
2320
if (haystack -> val [i ] != needle -> val [i ])
2321
2321
RETURN_BOOL (0 );
2322
- RETURN_BOOL (1 );
2322
+ RETURN_BOOL (1 );
2323
2323
}
2324
2324
2325
2325
/* {{{ proto boolean str_ibegins(string haystack, string needle)
2326
2326
Performs case insensitive check to determine if haystack begins with needle */
2327
2327
PHP_FUNCTION (str_ibegins ) {
2328
- zend_string * haystack , * needle ;
2329
- int i ;
2328
+ zend_string * haystack , * needle ;
2329
+ int i ;
2330
2330
2331
2331
ZEND_PARSE_PARAMETERS_START (2 , 2 )
2332
2332
Z_PARAM_STR (haystack )
@@ -2346,8 +2346,8 @@ PHP_FUNCTION(str_ibegins) {
2346
2346
/* {{{ proto boolean str_ends(string haystack, string needle)
2347
2347
Checks if haystack ends with needle */
2348
2348
PHP_FUNCTION (str_ends ) {
2349
- zend_string * haystack , * needle ;
2350
- int i , j ;
2349
+ zend_string * haystack , * needle ;
2350
+ int i , j ;
2351
2351
2352
2352
ZEND_PARSE_PARAMETERS_START (2 , 2 )
2353
2353
Z_PARAM_STR (haystack )
@@ -2367,8 +2367,8 @@ PHP_FUNCTION(str_ends) {
2367
2367
/* {{{ proto boolean str_iends(string haystack, string needle)
2368
2368
Performs case insensitive check to determine if haystack ends with needle */
2369
2369
PHP_FUNCTION (str_iends ) {
2370
- zend_string * haystack , * needle ;
2371
- int i , j ;
2370
+ zend_string * haystack , * needle ;
2371
+ int i , j ;
2372
2372
2373
2373
ZEND_PARSE_PARAMETERS_START (2 , 2 )
2374
2374
Z_PARAM_STR (haystack )
0 commit comments