1--TEST--
2putenv() - usage in safe mode with safe_mode_protected_env_vars set
3--CREDITS--
4Brian DeShong <brian@deshong.net>
5--INI--
6safe_mode=1
7safe_mode_protected_env_vars=FOO,BAZ
8--FILE--
9<?php
10putenv('FOO=bar');
11putenv('BAZ=bop');
12?>
13==DONE==
14--EXPECTF--
15Deprecated: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
16
17Warning: putenv(): Safe Mode warning: Cannot override protected environment variable 'FOO' in %s on line %d
18
19Warning: putenv(): Safe Mode warning: Cannot override protected environment variable 'BAZ' in %s on line %d
20==DONE==
21