mirror of
https://github.com/php/php-src.git
synced 2024-11-29 12:53:37 +08:00
e2a4ef0696
- basic test for ini_alter
20 lines
320 B
PHP
20 lines
320 B
PHP
--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"
|
|
|