diff options
| author | Kalle Sommer Nielsen <kalle@php.net> | 2009-05-04 21:18:22 +0000 |
|---|---|---|
| committer | Kalle Sommer Nielsen <kalle@php.net> | 2009-05-04 21:18:22 +0000 |
| commit | 5a6d3cc42b9e9e19a744726ccfeaee332280e88d (patch) | |
| tree | 557fcb9177c963f01b60e3f89c40617b4ad811cd /ext/pcre | |
| parent | 048f03a46b490d58dc087f6d99c34ed987e1fe5a (diff) | |
| download | php-git-5a6d3cc42b9e9e19a744726ccfeaee332280e88d.tar.gz | |
Added E_DEPRECATED startup notice (5.3 only)
Diffstat (limited to 'ext/pcre')
| -rw-r--r-- | ext/pcre/tests/bug33200.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pcre/tests/bug33200.phpt b/ext/pcre/tests/bug33200.phpt index b00b72ac28..5ad5b78c87 100644 --- a/ext/pcre/tests/bug33200.phpt +++ b/ext/pcre/tests/bug33200.phpt @@ -6,7 +6,8 @@ magic_quotes_sybase=1 <?php $str = 'some \'$sample\' text'; $str = preg_replace("/(some.*text)/e", "strtoupper('\\1')", $str); -echo $str; +echo $str . "\r\n"; ?> --EXPECT-- SOME '$SAMPLE' TEXT +PHP Warning: Directive 'magic_quotes_sybase' is deprecated in PHP 5.3 and greater in Unknown on line 0 |
