|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-12-08 10:59 UTC] felipe@php.net
[2007-12-09 04:30 UTC] crrodriguez at suse dot de
[2007-12-09 16:37 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 09 04:00:01 2025 UTC |
Description: ------------ escapeshellarg() returns null when passed an empty string instead of returning an empty string. The documentation doesn't say anything about giving a return value of null. Reproduce code: --------------- <?php var_dump(escapeshellarg('')); ?> Expected result: ---------------- string '' Actual result: -------------- null