mirror of
https://github.com/php/php-src.git
synced 2026-03-28 10:12:18 +01:00
- Fix bug 11244 (patch by "Tal Peer" <hazgul99@hotmail.com>).
# Sorry for the delay :-)
This commit is contained in:
@@ -2849,6 +2849,30 @@ static void php_hebrev(INTERNAL_FUNCTION_PARAMETERS, int convert_newlines)
|
||||
case ')':
|
||||
*target = '(';
|
||||
break;
|
||||
case '[':
|
||||
*target = ']';
|
||||
break;
|
||||
case ']':
|
||||
*target = '[';
|
||||
break;
|
||||
case '{':
|
||||
*target = '}';
|
||||
break;
|
||||
case '}':
|
||||
*target = '{';
|
||||
break;
|
||||
case '<':
|
||||
*target = '>';
|
||||
break;
|
||||
case '>':
|
||||
*target = '<';
|
||||
break;
|
||||
case '\\':
|
||||
*target = '/';
|
||||
break;
|
||||
case '/':
|
||||
*target = '\\';
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user