@@ -2304,8 +2304,8 @@ PHP_FUNCTION(substr)
23042304/* {{{ proto boolean str_begins(string haystack, string needle)
23052305 Checks if haystack begins with needle */
23062306PHP_FUNCTION (str_begins ) {
2307- zend_string * haystack , * needle ;
2308- int i ;
2307+ zend_string * haystack , * needle ;
2308+ int i ;
23092309
23102310 ZEND_PARSE_PARAMETERS_START (2 , 2 )
23112311 Z_PARAM_STR (haystack )
@@ -2319,14 +2319,14 @@ PHP_FUNCTION(str_begins) {
23192319 for (i = 0 ; i < needle -> len ; i ++ )
23202320 if (haystack -> val [i ] != needle -> val [i ])
23212321 RETURN_BOOL (0 );
2322- RETURN_BOOL (1 );
2322+ RETURN_BOOL (1 );
23232323}
23242324
23252325/* {{{ proto boolean str_ibegins(string haystack, string needle)
23262326 Performs case insensitive check to determine if haystack begins with needle */
23272327PHP_FUNCTION (str_ibegins ) {
2328- zend_string * haystack , * needle ;
2329- int i ;
2328+ zend_string * haystack , * needle ;
2329+ int i ;
23302330
23312331 ZEND_PARSE_PARAMETERS_START (2 , 2 )
23322332 Z_PARAM_STR (haystack )
@@ -2346,8 +2346,8 @@ PHP_FUNCTION(str_ibegins) {
23462346/* {{{ proto boolean str_ends(string haystack, string needle)
23472347 Checks if haystack ends with needle */
23482348PHP_FUNCTION (str_ends ) {
2349- zend_string * haystack , * needle ;
2350- int i , j ;
2349+ zend_string * haystack , * needle ;
2350+ int i , j ;
23512351
23522352 ZEND_PARSE_PARAMETERS_START (2 , 2 )
23532353 Z_PARAM_STR (haystack )
@@ -2367,8 +2367,8 @@ PHP_FUNCTION(str_ends) {
23672367/* {{{ proto boolean str_iends(string haystack, string needle)
23682368 Performs case insensitive check to determine if haystack ends with needle */
23692369PHP_FUNCTION (str_iends ) {
2370- zend_string * haystack , * needle ;
2371- int i , j ;
2370+ zend_string * haystack , * needle ;
2371+ int i , j ;
23722372
23732373 ZEND_PARSE_PARAMETERS_START (2 , 2 )
23742374 Z_PARAM_STR (haystack )
0 commit comments