summaryrefslogtreecommitdiff
path: root/tests/executor/disable_emod_off.phpt
blob: 65908f942eef13c48857b7c5acea71f96a30ed91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--TEST--
Testing: suhosin.executor.disable_emodifier=0
--SKIPIF--
<?php include "../skipifnotcli.inc"; ?>
--INI--
error_reporting=E_ALL&~E_DEPRECATED
suhosin.log.sapi=64
suhosin.executor.disable_emodifier=0
--FILE--
<?php
    
	function doit()
	{
		$text = "HALLO";
		var_dump(@preg_replace('/[a-z]/e', "strtoupper('\\0')", $text));
		$text = "HalLO";
		var_dump(@preg_replace('/[a-z]/e', "strtoupper('\\0')", $text));	
	}
	doit();
?>
--EXPECTF--
string(5) "HALLO"
string(5) "HALLO"