Skip to content

Commit cb0a343

Browse files
committed
Remove hebrevc() function
1 parent 65b087b commit cb0a343

File tree

7 files changed

+0
-64
lines changed

7 files changed

+0
-64
lines changed

ext/opcache/Optimizer/zend_func_info.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ static const func_info_t func_infos[] = {
164164
F0("strripos", MAY_BE_FALSE | MAY_BE_LONG),
165165
F1("strrev", MAY_BE_STRING),
166166
F1("hebrev", MAY_BE_STRING),
167-
F1("hebrevc", MAY_BE_STRING),
168167
FN("nl2br", MAY_BE_STRING),
169168
F1("basename", MAY_BE_STRING),
170169
F1("dirname", MAY_BE_NULL | MAY_BE_STRING),

ext/standard/basic_functions.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,6 @@ static const zend_function_entry basic_functions[] = { /* {{{ */
914914
PHP_FE(strripos, arginfo_strripos)
915915
PHP_FE(strrev, arginfo_strrev)
916916
PHP_FE(hebrev, arginfo_hebrev)
917-
PHP_DEP_FE(hebrevc, arginfo_hebrevc)
918917
PHP_FE(nl2br, arginfo_nl2br)
919918
PHP_FE(basename, arginfo_basename)
920919
PHP_FE(dirname, arginfo_dirname)

ext/standard/basic_functions.stub.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,8 +636,6 @@ function str_ireplace($search, $replace, $subject, &$replace_count = UNKNOWN): s
636636

637637
function hebrev(string $str, int $max_chars_per_line = 0): string {}
638638

639-
function hebrevc(string $str, int $max_chars_per_line = 0): string {}
640-
641639
function nl2br(string $str, bool $is_xhtml = true): string {}
642640

643641
/** @param mixed $allowable_tags */

ext/standard/basic_functions_arginfo.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -981,8 +981,6 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_hebrev, 0, 1, IS_STRING, 0)
981981
ZEND_ARG_TYPE_INFO(0, max_chars_per_line, IS_LONG, 0)
982982
ZEND_END_ARG_INFO()
983983

984-
#define arginfo_hebrevc arginfo_hebrev
985-
986984
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_nl2br, 0, 1, IS_STRING, 0)
987985
ZEND_ARG_TYPE_INFO(0, str, IS_STRING, 0)
988986
ZEND_ARG_TYPE_INFO(0, is_xhtml, _IS_BOOL, 0)

ext/standard/php_string.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ PHP_FUNCTION(ucwords);
5252
PHP_FUNCTION(strtr);
5353
PHP_FUNCTION(strrev);
5454
PHP_FUNCTION(hebrev);
55-
PHP_FUNCTION(hebrevc);
5655
PHP_FUNCTION(user_sprintf);
5756
PHP_FUNCTION(user_printf);
5857
PHP_FUNCTION(vprintf);

ext/standard/string.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4566,14 +4566,6 @@ PHP_FUNCTION(hebrev)
45664566
}
45674567
/* }}} */
45684568

4569-
/* {{{ proto string hebrevc(string str [, int max_chars_per_line])
4570-
Converts logical Hebrew text to visual text with newline conversion */
4571-
PHP_FUNCTION(hebrevc)
4572-
{
4573-
php_hebrev(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1);
4574-
}
4575-
/* }}} */
4576-
45774569
/* {{{ proto string nl2br(string str [, bool is_xhtml])
45784570
Converts newlines to HTML line breaks */
45794571
PHP_FUNCTION(nl2br)

ext/standard/tests/strings/hebrevc_basic.phpt

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)