com php-src: cleanup with --reverse: compat/replace.php

From: Date: Fri, 31 Jan 2014 01:21:14 +0000
Subject: com php-src: cleanup with --reverse: compat/replace.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75871@lists.php.net to get a copy of this message
Commit: 39c41e6c1d642bec6c1accdfaa3ecb174f6152bf Author: Anatol Belski <ab@php.net> Thu, 30 Jan 2014 17:21:14 -0800 Parents: 247d7d7b14f84b8d6f6eb1f933adea0d2f7c9cf6 Branches: str_size_and_int64 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=39c41e6c1d642bec6c1accdfaa3ecb174f6152bf Log: cleanup with --reverse Changed paths: M compat/replace.php Diff: diff --git a/compat/replace.php b/compat/replace.php index 3abcdab..4dc1d20 100644 --- a/compat/replace.php +++ b/compat/replace.php @@ -226,6 +226,10 @@ if ($replace_macros) { ); if ($reverse_replace) { + /* cleanup also mess when convering back and forth */ + $replacements['INTERNAL'] = 'LONGERNAL'; + $replacements['INTERACTIVE'] = 'LONGERACTIVE'; + $replacements['INTEGER'] = 'LONGEGER'; $file_contents = str_replace(array_values($replacements), array_keys($replacements), $file_contents); } else { $file_contents = str_replace(array_keys($replacements), array_values($replacements), $file_contents);

« previous php.cvs (#75871) next »