summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/escapeshellcmd_bug71270.phpt
blob: 4686193d4130a47b343a2bbb0500040f998b799e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--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