summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/escapeshellarg_bug71270.phpt
blob: c57da3691c551344583bbd5a9ea0f2e1d139aab2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Test escapeshellarg() allowed argument length
--FILE--
<?php
ini_set('memory_limit', -1);
$var_2  = str_repeat('A', 1024*1024*64);
escapeshellarg($var_2);

?>
===DONE===
--EXPECTF--
Fatal error: escapeshellarg(): Argument exceeds the allowed length of %d bytes in %s on line %d