ext-uv/tests/800-uv_spawn-issue59.phpt
Bob Weinand 836c0c68f5 Fix #43 - Add handling for uv pipes within UVStdio objects
Also some refcounting issues within uv_async* and uv_udp*
2017-05-09 00:13:00 +02:00

10 lines
272 B
PHP

--TEST--
Test uv_spawn doesn't cause segfault #56
--FILE--
<?php
$ioRead = uv_stdio_new(null, Uv::CREATE_PIPE | Uv::INHERIT_STREAM);
--EXPECTF--
Warning: uv_stdio_new(): passed unexpected value, expected instance of UV, file resource or socket resource in %s on line %d