mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
12 lines
286 B
PHP
12 lines
286 B
PHP
--TEST--
|
|
Test escapeshellcmd() allowed argument length
|
|
--FILE--
|
|
<?php
|
|
ini_set('memory_limit', -1);
|
|
$var_2 = str_repeat('A', 1024*1024*64);
|
|
escapeshellcmd($var_2);
|
|
|
|
?>
|
|
===DONE===
|
|
--EXPECTF--
|
|
Fatal error: escapeshellcmd(): Command exceeds the allowed length of %d bytes in %s on line %d
|