« first day (1707 days earlier)      last day (3241 days later) » 

10:00 PM
@NikiC do we…? except in case of a boolean operation where we only do forward-jumps (and, or)
 
@bwoebi Yes, I was thinking conditionals here
 
?: … yeah, too…
 
So you'd probably have to compute and store liveliness info
Which at this point is not really worthwhile
 
which we could do at compile time… but mmmmh :-/
I wonder how expensive it is.
 
lol dmitry will have a fit over the extra data it requires :P
 
10:03 PM
exactly ^^
 
btw, do you know whether opcache compacts temporaries yet?
the compiler currently emits them for single use, but I wonder if opcache has any passes for reuse
 
... misunderstood.
 
Anonymous
I could be missing something as always, but this looks a bit weird 3v4l.org/AtFnV
 
@NikiC no, it shouldn't.
 
Anonymous
@bwoebi ^^
 
10:06 PM
@bwoebi Do you mean doesn't or shouldn't?
 
@NikiC As far as I know it doesn't… meaning as long as there was nothing added in the last few weeks.
 
k
I'm wondering if / how much difference it could make
 
Anonymous
@bwoebi bug / no bug?
 
You likely only need a relatively small fraction of the temporaries
 
yep… and you only need to collect the temporaries whenever a fcall or yield is done
 
10:08 PM
@samaYo no bug
PHP allows you to discard errors
 
Anonymous
Hmm, ok.. but the fact that it gets echo'ed is pretty weird.
 
Anonymous
as if it was a string ..
 
Anonymous
and it performs mathematical operations too ..
 
@samaYo Same as doing "foo" - "bar" ... PHP allows it
It just gives you garbage result
 
Anonymous
damn! I was so looking forward to reporting that as a bug .. :/
 
10:15 PM
lol
there are enough bugs already :P
 
lol
 
If nobody reported it, does a bug really exist?
 
@NikiC If somebody reported it… are you sure that he didn't just make the same mistake as you and consider it a bug?
 
Anonymous
I wanted to find a bug, report it and go all the way to solving and sending fix patch. That would've been a great way to get acquainted and to get involved with the php-src.
 
Anonymous
/ meh .. great opportunity lost
 
10:19 PM
@samaYo There is bugs.php.net/random
 
Anonymous
@NikiC Yeah, I know .. I've looked and couldn't find even one enough to understand why it was a bug, let alone find a fix ..
 
10:49 PM
I really think we ought to go through and close almost all feature requests - particularly stupid ones bugs.php.net/bug.php?id=62888
 
11:12 PM
I love I/O bound segfaults which occur in completely random places, because some values get corrupted, but it always seems to be another value.
hmm… lol… turning USE_ZEND_ALLOC off actually lets me reproduce it reliably^^
 
11:52 PM
==33802== Invalid write of size 8
==33802==    at 0x1005C4E46: ZEND_DO_FCALL_SPEC_HANDLER (in /Users/Bob/php-src-7.0x/sapi/cli/php)
==33802==    by 0x100593433: execute_ex (in /Users/Bob/php-src-7.0x/sapi/cli/php)
how is that even possible…
the invalid write being call->symbol_table = NULL;
Looks like the symbol table is being allocated on all bytes but the last 8…
 

« first day (1707 days earlier)      last day (3241 days later) »