File: disable_emod_off.phpt

package info (click to toggle)
php-suhosin 0.9.12-1etch1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 596 kB
  • ctags: 745
  • sloc: ansic: 7,576; makefile: 100; sh: 34; php: 15
file content (18 lines) | stat: -rw-r--r-- 416 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
Testing: suhosin.executor.disable_emodifier=0
--SKIPIF--
<?php include "../skipifnotcli.inc"; ?>
--INI--
suhosin.log.sapi=64
suhosin.executor.disable_emodifier=0
--FILE--
<?php
    $text = "HALLO";
    var_dump(preg_replace('/[a-z]/e', "strtoupper('\\0')", $text));
    $text = "HalLO";
    var_dump(preg_replace('/[a-z]/e', "strtoupper('\\0')", $text));
?>
--EXPECTF--
string(5) "HALLO"
string(5) "HALLO"