mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +08:00
16 lines
285 B
PHP
Executable File
16 lines
285 B
PHP
Executable File
--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
|