Permalink
Browse files

- initial ci

- basic test for ini_alter
  • Loading branch information...
1 parent 437e9e6 commit e2a4ef06968feca5b19f5a351890773b31377c74 Sebastian Schürmann committed Apr 25, 2009
Showing with 19 additions and 0 deletions.
  1. +19 −0 tests/func/ini_alter.phpt
View
@@ -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"
+

0 comments on commit e2a4ef0

Please sign in to comment.