« first day (3987 days earlier)      last day (958 days later) » 

1:24 AM
@StatikStasis it's an interesting article, for sure
well..concept is interesting...I haven't read beyond the first paragraph
 
 
4 hours later…
5:35 AM
Incident with Webhooks
Incident with Webhooks ・ Issues, PRs, Dashboard, Projects has Partial Outage
Incident with GitHub Packages and Webhooks ・ Issues, PRs, Dashboard, Projects has Partial Outage
 
6:01 AM
@Girgias yeah, you should add a new function in zend_test in this case.
 
6:42 AM
All issues have been resolved!
 
7:18 AM
Please support the /n pattern modifier (PCRE2_NO_AUTO_CAPTURE) ・ PCRE related ・ #81439
 
8:13 AM
Does anyone else find it odd/annoying, that if a promoted constructor arg has an attribute, that has its flags set to \Attribute::TARGET_PROPERTY the attribute still gets applied to the constructor parameter 'illegally'?
is there some technical limitation I'm missing here? It seems like a no brainer (given the "what should attributes apply to" question in the constructor promotion RFC) to not implicitly apply them to the arg/param if they specifically target properties.
 
 
@NikiC is the "without error" part of 'Unfortunately they would still be applied to both, but without error.' referring to just when the code is compiled? (or is this not the approach that was implemented). Because they definitely do error if calling ReflectionAttribute::newInstance
 
@Stephen Nothing was implemented
 
Ah, well that would make sense with what im seeing then.
so they get applied to both, with no 'special' consideration. Ok. thanks for confirming it was at least discussed...
 
 
2 hours later…
cmb
10:33 AM
Does anybody happen to know whether php-src has a CI where ext/xml is built against libexpat?
 
10:47 AM
Is that even possible? I thought libexpat only did a SAX parser, and not DOM, which is what ext/xml needs?
@cmb Looks like Azure people re-enabled my concurrency, yay!
 
cmb
@Derick ext/xml doesn't need a DOM (ext/dom and ext/simplexml need it though). There are a few other exts besides xml which are still supposed to support libexpat as alternative to libxml2, but there may be issues (not sure whether libexpat 2 would even be supported).
 
oh yeah, sorry
 
cmb
np; congrats to the Azure re-improvements :)
 
@cmb github.com/derickr/xdebug/commit/… Should fix one of the test failures on your branch
The other two failures are strange. But they indicate that zlib support wasn't actually enabled?
 
cmb
I'll have a closer look this evening. There is still something wrong; I built in-tree locally, and the tests were skipped, although HAVE_XDEBUG_ZLIB was 1.
 
11:02 AM
I think the ~ issue might be because I use / everywhere?
Hard to see where that comes from...
 
cmb
@Derick yeah, I need to be able to reproduce this locally :)
 
why There isn't anybody in the JavaScript group?
Can I ask my question here?
 
@Hamid sure, but people may ignore it.
 
How could I detect a click inside a textarea, when there are some HTML tags inside the textarea?
 
@Hamid I'd normally just add an event listener to the text area. Does that not work for you? (also, I'm not entirely sure what "HTML tags inside the textarea" means.
 
11:15 AM
<textarea>
<p>some text</p>
</textarea>

@Danack
 
I'd normally just add an event listener to the text area. Does that not work for you?
 
cmb
You can't nest elements inside a textarea. Is this may some fancy editor, like CodeMirror or such?
 
No, there are many of these tag in my HTML code, and I wanna recognize which one of them was clicked.
When I click on the p tag, I can't get the parent (that in this case is the textarea)
@Danack
@cmb No bro
 
cmb
html.spec.whatwg.org/multipage/… says the content model is text.
 
11:23 AM
Possibly textarea doesn't get clicks.....it seems to get onfocus events though.......but as it's not PHP, I'm out.
actually, that's wrong - it gets both.
 
@Danack Thanks
 
11:52 AM
Missing reflection information for BackedEnums ・ Class/Object related ・ #81440
 
12:26 PM
@Trowski LOLOL!
 
1:14 PM
What does it mean "something" in php.net/manual/en/function.count.php
I think this description is in need of a rewrite
 
cmb
@Dharman lol
 
Also, how can I use PHP without SPL installed?
 
cmb
Does anyone have experience with xml_parse_into_struct(), especially with the XML_OPTION_SKIP_WHITE option set?
@Dharman you can't; SPL is mandatory
 
Then that description is nonsense
 
cmb
@Dharman yes
 
 
1 hour later…
2:35 PM
@MateKocsis The thing is I don't think we got ZPP support for that, so I would need to add that at the same time
Which makes me realize I didn't add ZPP support for intersection types :thonk:
 
short of regex-replacing ampersands, is there a way to somehow parse invalid XML and apply html_entity_decode on an element? I wrote a script to load the file into DOMDocument as XML (using load()), but an error is thrown because the body content contains an ampersand thus considered invalid. I tried using loadHTMLFile() but the file is otherwise XML and there are "invalid HTML tags." more or less looking for hints/suggestions of how I could approach this
I could regex-replace the ampersands, or str_replace, but not sure if that's the "best" solution
 
@Tiffany Parse it as HTML
That's how most of the QA scripts for the docs works, as we can't resolve the entities (which makes it invalid XML) so you pass a flag to the constructor of the DOMParser to interpret it as HTML which you can do some manipulation on
 
not sure if I'm doing something wrong, because the format is expected as XML, but it gives errors like Warning: DOMDocument::loadHTMLFile(): Tag nitf invalid
should I set it to a string, then loadHTML? (haven't tried this because I assumed I would encounter the same issue as ::loadHTMLFile())
 
cmb
Did you try with tidy?
 
@Dharman Also Countable should really be moved to the Predefined Interfaces as it's not part of SPL any more... so most of that sentence doesn't make sense
 
2:44 PM
@cmb I have not, I'll give that a go, thanks.
 
@Tiffany Sounds like it's not just a stray &, but a whole tag &nitf; so I'd try to come up with the entity list that the document expects.
 
@Sara no, there's a DTD for NITF, it's XML specific.
I was given a bunch of NITF XML files that were generated from a database, the person generating the files did the best they could to generate valid XML but I still need to clean up a few issues before I can use them
<body.content> element has stray ampersands that I have to fix. (there are probably stray ampersands in other elements, but I'm working with a small subset of files while I test my code)
 
cmb
3:15 PM
@Tiffany try:
<?php
$xml = <<<XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root>
    this &amp; that
</root>
XML;
echo tidy_repair_string($xml, ["input-xml" => true, "output-xml" => true]);
 
'input-xml' includes 'quote-ampersand'? I guess the idea being that Tidy just fixes any present issues and gives me valid XML...
 
cmb
Well, tidy is mostly about fixing invalid HTML. These options make it work with XML; I'm not sure about about complex XML, though. Maybe you need to set other options, and everything might depend on the libtidy version, anyway.
 
it seems to be working
at least, it appears to give me valid XML, I'll save the files and run them through xmllint. thanks!
or could run them through DOMdocument... I dunno, I'll figure something out :D
 
3:37 PM
works :D, thanks @cmb
 
cmb
great!
 
4:26 PM
@Derick no php support (yet) but the site says they built a time travel debugger to support more languages: replay.io
 
Interesting.
 
 
1 hour later…
5:48 PM
@Tiffany Hi, yea its been yeaaars. Hope you are good :)
 
@jmikola I'm pretty sure your run-tests issue will also effect some of my run tests things, where we also check whether a database is available...
 
6:05 PM
Ohai @RonniSkansing o/
 
yoyoy \o
 
How are you doing?
 
I am doing fine. Just working chilling all kinda the same. Moved to a bigger place.
How about you, hows life?
 
gethostbyaddr('::1') returns ip instead of name after calling some other method ・ *Network Functions ・ #81441
 
@RonniSkansing Pretty much the same, although I will move next month :)
 
6:22 PM
Oh, why you moving?
 
Bigger place, outside of the city and as far away from a fucking mosque as possible
:P
 
lol, congrats
 
@RonniSkansing doing rather well, just received a cake I ordered online, and I am stuffed from cake now
 
6:37 PM
You ordered a cake online? Like a real cake?
 
#LifeGoals
 
6:51 PM
Deprecation warning(?) does not trigger error handler ・ Unknown/Other Function ・ #81442
 
7:32 PM
Hello guys
Hi Tiffany
the link which you provided earlier. It worked earlier
need another help
can anyone give me any clue about this
0
Q: how to set index.php as default page in apache linux rhel

muniyaI tried to set index.php as a default page in my PHP project which is running on apache. I edited httpd.conf file in path etc/httpd/conf/httpd.conf <IfModule dir_module> DirectoryIndex index.html index.php </IfModule> Also, I did DirectoryIndex index.php /var/www/html/index.php but still...

 
7:52 PM
> it doesn't load the index.php file but it loads the index.html file.
it might be doing what you told it to. The order might matter. Or you could rename the index.html out of the way.
 
ok
nothing is working
 
8:11 PM
Good evening, I'm having an issue with phpstorm, the project explorer is highlighted yellow. I'm aware this indicates that the files and folders are outside the project, but they aren't. How can I fix this?
 
Wes
8:37 PM
\o
 
o/
 
Wes
@Danack i hope i didn't give the impression i was annoyed by you showing the tshirt on that site. i was just making fun of myself for being evidently physically unable to finish anything (unless my bills depend on it)
the third iteration was super dope and it will go to waste because i am an useless person
 
Wes
8:55 PM
anyways i thank you for bothering to show it around for me.... since i am not..... but again i haven't tried that because i am not particularly proud of that version, although it is way better than the first
 
9:26 PM
@Wes you are awesome, dude
@KerrialBeckettNewham are you opening the folder as a project?
 
9:42 PM
@RonniSkansing yes :P it's from a bakery in another state, I've read that it's delicious and worth it, and I've wanted to try it. I started a job, almost a year ago, about one week from my year anniversary. Making a lot more than I used to, and it's fully remote. Life is good. :)
 
Inconsistent casting to bool of SimpleXML objects ・ SimpleXML related ・ #81443
 
Wes
9:55 PM
@Tiffany -.-
 
@Wes <3
 
10:21 PM
@Wes no problem. Tiff just thought you might not want it advertised if it's still a draft. Maybe upload the 3rd version to teespring and I'll update the page to that?
Also, I will buy a harp for you.
 
cmb
10:42 PM
Indeed; see https://github.com/xdebug/xdebug/pull/784/commits/8dfe2c253f6e149b1c71f99b6732a52b667ca308 (that's likely going to be a PITA for several other extensions).
Another issue was the missing --with-xdebug-compression flag; I've added this now (config.w32 and CI).
Anyhow, [current status looks bad](https://github.com/xdebug/xdebug/runs/3615547693?check_suite_focus=true#step:12:925); need to check, but maybe you have an idea.
 
11:11 PM
@cmb That one looks odd... never seen that before, but it looks like something is intercepting a sprintf variant that doesn't understand %Iu ?
 
11:23 PM
 
cmb
@Derick I think I tried that, but the test failed for other reasons. I'm currently more concerned about the apparent break with PHP 8.0 on Windows. There have been changes to printf() and friends, and these may have caused that %Iu is no longer recognized on Windows. I need to check that, but I'm going to call it a day. :)
 
@cmb Since when though, because it worked earlier today?
 
cmb
The problem only occurs if zlib is actually enabled, apparently.
 
Maybe it overrides a define...
 

« first day (3987 days earlier)      last day (958 days later) »