mirror of
https://github.com/php/php-src.git
synced 2024-11-29 21:04:10 +08:00
20 lines
320 B
Plaintext
20 lines
320 B
Plaintext
|
--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"
|
||
|
|