mirror of
https://github.com/php/php-src.git
synced 2024-12-18 14:30:35 +08:00
16 lines
285 B
PHP
16 lines
285 B
PHP
--TEST--
|
|
Bug #36568 (memory_limit has no effect)
|
|
--SKIPIF--
|
|
<?php
|
|
if (!function_exists('memory_get_usage')) die('skip PHP is configured without memory_limit');
|
|
?>
|
|
--INI--
|
|
memory_limit=16M
|
|
--FILE--
|
|
<?php
|
|
ini_set("memory_limit", "32M");
|
|
echo ini_get("memory_limit");
|
|
?>
|
|
--EXPECT--
|
|
32M
|