mirror of
https://github.com/php/php-src.git
synced 2024-12-14 04:16:30 +08:00
16 lines
285 B
Plaintext
16 lines
285 B
Plaintext
|
--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
|