Annotation of embedaddon/php/ext/pcre/tests/bug33200.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Bug #33200 (magic_quotes_sybase = On makes 'e' modifier misbehave)
3: --INI--
4: magic_quotes_sybase=1
5: --FILE--
6: <?php
7: $str = 'some \'$sample\' text';
8: $str = preg_replace("/(some.*text)/e", "strtoupper('\\1')", $str);
9: echo $str . "\r\n";
10: ?>
11: --EXPECT--
12: Deprecated: Directive 'magic_quotes_sybase' is deprecated in PHP 5.3 and greater in Unknown on line 0
13: SOME '$SAMPLE' TEXT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>