1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00

Initial commit

This commit is contained in:
Sebastian Schürmann
2009-04-25 18:51:52 +00:00
parent 706152d40d
commit cb22f59dbd

19
tests/func/ini_alter.phpt Normal file
View File

@@ -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"