mirror of
https://github.com/php/php-src.git
synced 2026-04-05 15:12:39 +02:00
# Some of the updated tests were to make them sync with 5.3 although they don't run on trunk anymore
14 lines
376 B
PHP
14 lines
376 B
PHP
--TEST--
|
|
Bug #33200 (magic_quotes_sybase = On makes 'e' modifier misbehave)
|
|
--INI--
|
|
magic_quotes_sybase=1
|
|
--FILE--
|
|
<?php
|
|
$str = 'some \'$sample\' text';
|
|
$str = preg_replace("/(some.*text)/e", "strtoupper('\\1')", $str);
|
|
echo $str . "\r\n";
|
|
?>
|
|
--EXPECT--
|
|
Deprecated: Directive 'magic_quotes_sybase' is deprecated in PHP 5.3 and greater in Unknown on line 0
|
|
SOME '$SAMPLE' TEXT
|