« first day (5141 days earlier)      last day (26 days later) » 

00:11
Yeah, me too. Rasmus
 
21 hours later…
21:41
I think I came across an undocumented change in how proc_open runs cmd in Windows. I upgraded a server from PHP 7.2 to 8.2, and code stopped working.
It seems that in PHP 7.2, proc_open would run cmd /c .... In PHP 8.2 it runs cmd /s /c
Therefore, this line:
$cmd = '"C:\\FlexSdk\\bin\\mxmlc.exe '.$cssfile.'"';
works in php 7.2, but fails in 8.2 with The filename, directory name, or volume label syntax is incorrect.
Note, the docs to discuss a change in regards to passing args as an array, but I'm not doing that here. I'm using the same string that used to work.
I'm working on tracing when that change was introduced, possibly here:
https://github.com/php/php-src/commit/51b0494e2f39463feba5416f6befc64410cd67cc

But i'm still checking
Confirmed:
https://github.com/php/php-src/commit/9ca449e0a803cb9d1d40fd6b83f2da1e6a7b46d9

See that commit message. That is not reflected anywhere in the docs, but I now see it is mentioned in the 8.0 migration guide
21:59
Okay, sorry for all the noise. I created GH issue suggesting to update the docs for proc_open.

Thanks for all the amazing work guys! :)

« first day (5141 days earlier)      last day (26 days later) »