> On 3 במרץ 2015, at 19:17, Dmitry Stogov <dmi...@zend.com> wrote: > > > >> On Tue, Mar 3, 2015 at 6:57 PM, Zeev Suraski <z...@zend.com> wrote: >> > -----Original Message----- >> > From: Anthony Ferrara [mailto:ircmax...@gmail.com] >> > Sent: Tuesday, March 03, 2015 5:44 PM >> > To: Zeev Suraski >> > Cc: PHP Internals >> > Subject: Re: [PHP-DEV] Re: Zend JIT Open Sourced >> > >> > Now, to the point that "gcc uses output buffering". >> >> Not gcc, glibc's stdout. > > CLI uses unbuffered write() syscall.
Oh, I know that. But that part was about the C version and how it gains output buffering implicitly - it's thanks to using glibc's stdout - not thanks to using gcc. Building PHP CLI with gcc therefore doesn't magically give it buffering - because it uses the write() syscall. Zeev