« first day (3893 days earlier)      last day (1038 days later) » 

12:03 AM
opcache crushed adminer 4.8.1 ・ opcache ・ #81132
 
 
8 hours later…
8:31 AM
\o
 
@cmb your pull into phpdbg would leave some useless ifdef ... maybe clean up those ...
fwiw, if I had the time, I'd be ditching a few things in phpdbg ... that helper thing cannot be getting used, it leaks terribly, and obviously, so clearly nobody is watching, testing, or using it ...
watchpoints can't be getting used, because if they were we'd get 100 reports a month - every time I've tried to use them they crash phpdbg ... and bob has mentioned that he thinks the code is flawed, rather than find out, I'd rather just ditch it ...
and all the remote related stuff can be dropped, it cannot and should not be getting used, phpdbg is never going to be anyone's remote debugger ...
both of these things complicate the source code and make it harder to understand and maintain and can't really provide any value if they're not being used, or can't be used
 
8:58 AM
morns
 
'mornin
 
@cmb I agree with Ilya, I think the invalid syntax might confuse some people who are not very familiar with PHP. And my main frustration with the invalid/crazy syntax of the docs came when I was adding new stubs to php-src, but I couldn't just copy-paste the class synopses from the docs, so I had to use PHPStorm's stubs instead. These are not huge issues, but it would be nice to fix them IMO
(unless they significantly reduce readability. so we should find it out first as George said)
 
9:29 AM
@JoeWatkins the code is not inherently flawed though … I think watchpoints are a good thing and I'd actually use them unless they'd crash too often :-( But yeah, ditch that webhelper thing
 
I think the majority use case, can be implemented in much simpler way ...
we already have control over every opcode, so property/array watch seems easier done at the vm level ... I think that's the majority of use cases covered, no ?
 
10:12 AM
@JoeWatkins it's not that easy … the primary use case of watchpoints is tracking changes to objects (or references maybe) as they get passed around, so you'll need to keep track of the object… and in the trivial implementation do a property and/or nested hashtable lookups … on every opcode
I think this will be unbearably slow
in synthetic, easy cases, no problem…
but that's not what it's about
 
10:31 AM
hmm, that's true ... but in the end, and whatever the reasons, they're not reliable
@bwoebi what do you think about dropping the xml stuff, that would ditch a bunch of complexity, and honestly, nobody can be using it, it just complicates all output, and some other stuff for no really good reason at this point
 
@JoeWatkins Yeah, nobody uses it … there should be something though, which could be consumed by a microsoft.github.io/debug-adapter-protocol at some point…
 
@bwoebi for now I just want to remove what is not going to be, or cannot be used ... nobody implemented support for our xml in the whole history of the thing, it doesn't make sense to keep it now ... if we made another approach at this - not that I remember anyone asking for that either - it would have to be more self contained somehow ...
I just don't think anyone wants it for that, it's nice that there's a debugger as part of your pipeline/ci/testing/staging ... but I don't see it ever being used with an IDE, and I really don't think anyone has ever asked, but I may be wrong about that ...
 
10:47 AM
opcache build fails because BUILD_CC is not defined in phpize builds ・ Compile Failure ・ #81133
 
11:30 AM
Morning
 
11:51 AM
Is there a reason why auto_prepend_file doesn't do anything with "php -S ... router.php" ?
 
12:06 PM
@JoeWatkins and @Crell : You've got mail!
 
 
2 hours later…
2:13 PM
Mornungs
 
yo
@Derick ack, looks fine
 
@JoeWatkins No idea about watchpoints, but dropping the xml stuff would definitely be nice, as it's really intrusive
Like I was wondering if we can replace the phpdbg opcode dumper with zend_dump now that optimizer is in core, but then I start thinking "but what about the xml mode?" and there goes...
 
@NikiC agree, intrusive ...
 
2:37 PM
Xdebug has its own XML generator/writer
 
cmb
@FlávioHeleno, re database tests, I found github.com/ankane/setup-mysql, which should work and is easy to set up. It also refers to setup of postgressql and sqlserver; I havent't checked these, but may be worthwhile.
 
@Derick Roger Roger. Joe, which sections do you want to respond to?
 
2:49 PM
Hm. I'll have to bring short functions back again in a few years when single-expression functions are more common. Oh well.
 
3:08 PM
@Crell I dunno, you tell me, or I'll jump in ...
 
I know me; I could easily talk through the whole thing. I'm a presenter and technical salesman. :-)
 
3:27 PM
SQLite3 ext INSERT with RETURNING causes duplicate rows ・ SQLite ・ #81134
 
4:07 PM
@NikiC yeah, the current xml is really … yeah should be dropped
 
5:00 PM
nearly done
 
5:28 PM
happy weekend r11
 
5:51 PM
\o/
 
6:18 PM
@bwoebi @NikiC I've done most of the work, one failing test, something strange about error buffer ... I'll come back to it later on ...
do we need an error buffer ?
 
@JoeWatkins It'd be nice if you could cover some of the technical details at least?
 
@Derick yeah, will do
 
 
2 hours later…
8:18 PM
phpdbg assertion failure on unknown help topic ・ Reproducible crash ・ #81135
 
@JoeWatkins pls no merge commits
 
my bad
@NikiC I was looking for clean-phpdbg today ...
 
@JoeWatkins What for?
 
for some reason, changes are not always detected (maybe only in sub directories), and I have to delete files
 
 
1 hour later…
9:30 PM
Hello
Does reassignment destroy an object or just put it out of scope?
$objectInstance = new car('red', 'fast');
$objectInstance = new car('green', 'slow');
 
@CupOfJava implementation detail, it might destruct it immediately, it might not (if there are references to the variable elswhere)
 
Should I just use a destructor to detect when an object is out of scope to deal with this future problems?
or am I overthinking this
 
you are overthinking this, don't use destructors and then you don't have to think about this :)
there are not many real use cases where you would need them
 
lol, ok. Thanks for the help.
:)
 
hehe :)
 
9:43 PM
I had a feeling that it was being destroyed because I called for a list of objects and didn't see more than one but was worried that it was being stored somewhere else that would build up over time and be a real headache down the road.
 
10:04 PM
@Crell No -- I ended up going to my parents'.
ImmutableKeyValueSequence -- I think many people will vote no on this thing just because of the name. That's unhelpfully long.
 
What circumstances would making it shorter, be more helpful?
 
They aren't even "immutable" in the general sense either, because if the contents are an object, it will still be mutable.
@MarkR For one, all iterable types in PHP have keys and values. The only time it's worth pointing one or the other out is if you only support one of them.
>https://en.wikipedia.org/wiki/Aggregate on its own refers to a collection of objects/values
or in other contexts, functions such as count/sum/min/max https://en.wikipedia.org/wiki/Aggregate_function

- In other contexts such as set theory, there might not be keys associated with the values
so aggregate on its own seems unclear.
^ This argument doesn't make any sense -- that's not what an Aggregate as in IteratorAggregate in PHP is.
 
@cmb what email address to you use with Git?
 
cmb
@Girgias the gmx.de one (see github.com/cmb69)
 
Okay, gonna merge the Windows docs removal PR
 
10:23 PM
@LeviMorrison not another RecursiveIteratorIterator?
 

« first day (3893 days earlier)      last day (1038 days later) »