diff options
| author | Sebastian Schürmann <sebs@php.net> | 2009-04-25 11:18:15 +0000 |
|---|---|---|
| committer | Sebastian Schürmann <sebs@php.net> | 2009-04-25 11:18:15 +0000 |
| commit | e2a4ef06968feca5b19f5a351890773b31377c74 (patch) | |
| tree | 8825b4267ec2893967a7e02151f8549af5b77005 /tests | |
| parent | 437e9e6c7c35cf3f47da41b8cdb77f43c5af77c0 (diff) | |
| download | php-git-e2a4ef06968feca5b19f5a351890773b31377c74.tar.gz | |
- initial ci
- basic test for ini_alter
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/func/ini_alter.phpt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/func/ini_alter.phpt b/tests/func/ini_alter.phpt new file mode 100644 index 0000000000..111e826f71 --- /dev/null +++ b/tests/func/ini_alter.phpt @@ -0,0 +1,19 @@ +--TEST-- +ini_alter() check +--CREDITS-- +Sebastian Schürmann +sebs@php.net +Testfest 2009 Munich +--FILE-- +<?php +ini_alter('error_reporting', 1); +$var = ini_get('error_reporting'); +var_dump($var); +ini_alter('error_reporting', 0); +$var = ini_get('error_reporting'); +var_dump($var); +?> +--EXPECT-- +string(1) "1" +string(1) "0" + |
