xref: /PHP-8.4/ext/pcntl/tests/pcntl_exec_3.phpt (revision 74859783)
1--TEST--
2pcntl_exec() 3
3--EXTENSIONS--
4pcntl
5--FILE--
6<?php
7$file = tempnam(sys_get_temp_dir(),"php");
8var_dump(pcntl_exec($file, array("foo","bar"), array("foo" => "bar")));
9unlink($file);
10?>
11--EXPECTF--
12Warning: pcntl_exec(): Error has occurred: (errno %d) %s
13bool(false)
14