From 47fa2724d7904a253d2ddefdf4c4beea40ccdea7 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Mon, 26 Jul 2021 11:08:20 +0200 Subject: [PATCH] Add false as return type of shell_exec The doc is only talking about string|null, but false is possible when the pipe can't be etablished @see https://github.com/php/php-src/pull/7306#issuecomment-886489235 --- dictionaries/CallMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dictionaries/CallMap.php b/dictionaries/CallMap.php index 5cc9dba93d1..825fc41580f 100644 --- a/dictionaries/CallMap.php +++ b/dictionaries/CallMap.php @@ -12117,7 +12117,7 @@ 'shapeObj::toWkt' => ['string'], 'shapeObj::union' => ['shapeObj', 'shape'=>'shapeObj'], 'shapeObj::within' => ['int', 'shape2'=>'shapeObj'], -'shell_exec' => ['?string', 'command'=>'string'], +'shell_exec' => ['string|false|null', 'command'=>'string'], 'shm_attach' => ['resource', 'key'=>'int', 'size='=>'int', 'permissions='=>'int'], 'shm_detach' => ['bool', 'shm'=>'resource'], 'shm_get_var' => ['mixed', 'shm'=>'resource', 'key'=>'int'],