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:
19
tests/func/ini_alter.phpt
Normal file
19
tests/func/ini_alter.phpt
Normal 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"
|
||||
|
||||
Reference in New Issue
Block a user