mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
16 lines
387 B
PHP
16 lines
387 B
PHP
--TEST--
|
|
GH-17951 Runtime Change 3
|
|
--CREDITS--
|
|
Frederik Milling Pytlick (frederikpyt@protonmail.com)
|
|
--INI--
|
|
memory_limit=128M
|
|
max_memory_limit=512M
|
|
--FILE--
|
|
<?php
|
|
ini_set('memory_limit', '1024M');
|
|
echo ini_get('memory_limit');
|
|
?>
|
|
--EXPECTF--
|
|
Warning: Failed to set memory_limit to 1073741824 bytes. Setting to max_memory_limit instead (currently: 536870912 bytes) in %s on line %d
|
|
512M
|