Patch popen_close_error-win32 for Testing related Bug #61459
Patch version 2012-03-20 22:51 UTC
Return to Bug #61459 |
Download this patch
Patch Revisions:
Developer: mattficken@php.net
< $file_handle = popen("sort", "w");
---
> // popen("sort", "w") fails if variables_order="GPCS"
> // this is set in the default INI file
> // it doesn't seem to be changeable in the --INI-- section
> // also, doing: ini_set('variables_order', ''); doesn't work!
> //
> // the only solution is to either put the absolute path here, or
> // remove variables_order= from PHP.ini (setting it in run-test's
> // default INI will fail too)
> //
> // since we can't depend on PHP.ini being set a certain way,
> // have to put the absolute path here.
> $file_handle = popen("/windows/system32/sort", "w");
|