« first day (3624 days earlier)      last day (1310 days later) » 

12:31 AM
Oh i want one and I'm in London :P
 
Yeah, but you're out of luck as James is sorting me out already
 
 
1 hour later…
1:33 AM
It doesn't matter how old a cat is, give them a piece of string and they're a kitten again.
 
1:53 AM
parse_url does not accept URLs with port 0 ・ *URL Functions ・ #80114
 
 
4 hours later…
5:44 AM
@Derick i have already ordered one pack of elephants! 😃 Actually, I showed them in the backend dev chat of our company, and our director ordered them 😃 very nice guy!
 
@beberlei after a day thinking of the monorepo composer plugin I think it may help a lot if I plan to keep separate integration flows in separate directories up from the root project dir, the question which I have in my mind now is how to work with Doctrine Migrations in this case.
Since all flows should be hightly decoupled from each other their DB migrations should be isolated as well, now I know htere is an option in DoctrineMigrations to pass multiple migrations_paths but I don't think it can treat them separately.
Without digging deeper I fear that it just merges all migrations into huge set while I'd like to be able to work over them separately and I fear every part of the monorepo then should have separate doctrine-migrations config but that leads to new issues like to how to handle their execution.
 
is there any way using which I would know that whether my feature branch is created from master or another feature branch?
 
@Exception I don't know of any shortcut but going back through the history you should be able to match git sha with reference which in fact are branches you're looking for
What's stopping you from coding like this?
Where did it come from?
 
6:07 AM
Good morning.
 
@brzuchal I am bit confused whether a particular branch is created from any other branch or from master. Just to confirm
 
Since branches are just a leaves on a git tree at some point in time they all grow up from one root.
Branches are just references to some nodes in the tree.
Meaning at the same time a branch can be pinned to the same node as master branch so if you start your feature branch from that point it's come from the same node.
Nothing more nothing less.
@Exception does it help?
 
6:46 AM
@brzuchal oh! just saw.
let me see
 
7:15 AM
@JoeWatkins couldnt we print a message about the dev server being for development and not production when starting it up?
 
The issue is people expect PHP to ship with a HTTP server thay could use without FastCGI interface connected to the real HTTP server.
A minimum one which doesn't server any static files but only handles PHP scripts execution would be nice.
I have too much in my head but around 6months ago I was thinking about similar to WSGI SAPI for PHP
 
or the fpm and dev-http server could share a single backend "how hard can it be"
they could both just be interfaces for what is already in the fpm sapi
 
in the context of docker it does make sense to expect it, though i would imagine it would be much saner to build a go or rust based server that spawns php-fpm as a child process.
 
There is actually something in go what uses embed sapi currently, but I cannot recall from memory the name of it.
What I actually was thinking is a different request handling model, but that's a separate topic...
 
@beberlei I wouldn't argument against sane setups having an actual webserver like nginx/apache in front of their application-server - but I don't understand why fpm is feature-complete and the (dev) http server can't
 
7:30 AM
the number of people that consistently work on the security of php can be counted on one hand, at times (for months at a time) you only need one finger ... we are so ill equipped to provide any sort of security in the context of a web server, it doesn't make sense to talk about providing anything, even a "minimal" capacity to face the front end of the internet is totally out of the question
second to that, there's no interest in this stuff within the project
 
What about the microhttp server or something else multiplatform library maintained by others?
IIRC I discussed it with you @JoeWatkins some time ago.
 
okay, that makes sense. I just found github.com/beberlei/fastcgi-serve btw, is that what you mean @brzuchal ?
 
@Sjon About ht go I was thinking of rather this github.com/spiral/roadrunner but when talking about library http server I was thinking of a different thing, a dedicated http sapi
 
if there's a stable, maintained http library that is third party, then write a sapi and propose it's inclusion, but in doing so you take on the role of maintainer and it won't be trouble free ... twice a library has come along that looked promising and I've written a sapi, but they soon lapsed into what looks like an unmaintained/eternally unfinished state ...
there's a very good reason that there's only really a few HTTP servers servicing the entire world ...
 
@brzuchal that looks very interesting
 
7:41 AM
gnu.org/software/libmicrohttpd was the lib I was thinking of to write the SAPI
 
@JoeWatkins you're probably right. I wonder if Google runs a webserver in front of their golang backends - their http server seems pretty well maintained
@brzuchal interesting, could you replace both fpm and the current dev-server with that?
 
@Sjon my main focus is PHP execution and not static content serving since I work on REST API's most of the time, I think for static content serving other http servers should be used
 
@brzuchal I agree - but the current fpm and dev server don't do that either (right?)
 
➜  Workspace mkdir dev-server-test
➜  Workspace echo "Hello world" > dev-server-test/index.html
➜  Workspace php -S 0.0.0.0:8888 -t dev-server-test
[Thu Sep 17 09:49:57 2020] PHP 7.4.9 Development Server (0.0.0.0:8888) started
[Thu Sep 17 09:50:23 2020] 127.0.0.1:54715 Accepted
[Thu Sep 17 09:50:23 2020] 127.0.0.1:54715 [200]: (null) /index.html
[Thu Sep 17 09:50:23 2020] 127.0.0.1:54715 Closing
fpm doesn't
fpm executes PHP
 
ah, I'm more familiar with fpm
 
7:52 AM
@brzuchal there is a go prototype http server embedding php, but the embed SAPi is really just a toy itself, it MINIT's on every request like CGI
stop thats not right, it does not, but there was another limitation
 
not a toy, different model
not intended for that
 
@Sjon yes, fcgi-serve is that for example, but its very limited, much better though closed source is the "symfony serve" binary
 
changing it is problematic, you think nobody is using it, until you propose changing it and then people appear that have actually deployed it ... whether or not they should have deployed it is immaterial ...
 
@JoeWatkins php should have editions so we can progress without being worried about b/c
 
actually I had an idea of optionally changing the model so the PHP script could return a callable which when executed receives the request like in WSGI and the return would be transfered by the server which would allow also to use a generator to yield resoruce handlers for HTTP/2 before returning actual response, but that was just a raw imagination
 
7:55 AM
I'm not sure how that would work for an ABI
not sure it is practical ...
 
What is ABI actually?
 
application Binary interface as opposed to an API
 
Well it is how WSGI works, nothing new
 
bad chat form, I was replying to @Sjon
all of the stuff you just said represents (probably) many years of work by a team of people used to working on this stuff ... you need the resources of the apache foundation, or google, or be funded by commercial private interests to achieve a usable http server ... these are the facts, the world is not filled with usable HTTP servers, it is a huge problem space ...
that there are very few really usable solutions tells you all you need know ... or it should ...
 
meh, I don't necessarily agree.
 
8:01 AM
show me the list of usable http servers, generally usable, and in use by the highest traffic websites (as PHP is) ?
 
apache2, nginx, that's the list
 
if you consider a more powerful webserver running in front, then a lot of languages provide http servers that run behind apache or nginx, ruby, node.js, go, rust, ...
but that is because its their way of interfacing with http, whereas PHPs way is fast-cgi
 
Yes, that's why I think minimum viable http sapi in PHP fit
@beberlei that is just a SAPI, these languages or node.js could also choose fast-cgi but they choose http, but IMO there's nothing what sopts PHP to deserve SAPI like that
PHP is much more than a language, when we say PHP it means lot of things...
 
@brzuchal well, go for it then? :-)
 
8:12 AM
the process model of php is best suited to (f)cgi, no sapi can change the process model, I see no win ...
 
@beberlei it's not an easy decision when you wanna approach the idea to be a thing for free
@JoeWatkins it can be done even without changing model
 
I think we'll see continued growth in serving requests directly from inbuilt HTTP engines such as Swoole and amp
Probably not in the casual space, but in business, for sure.
 
i dobut it
if you mean growing as in their market share raises from 0,1% to 0,5% then ok
 
@MarkR that's a different request handling model, I doubt as well
it'd be nice to have something built in
 
@MarkR For me, I'm not going to switch frameworks "just" to get an HTTP server for free. I'd expect PHP to ship with something I can plug into my webserver
 
8:23 AM
@Sjon plugin via the fastcgi interface? ;-)
 
@Sjon Those frameworks aren't really about the HTTP server element IMO, they're all about ridding oneself of the shared-nothing architecture.
 
@beberlei sure, fpm works fine for me
but it would be nice if fpm would get a bit more love and attention from the PHP developers ;)
 
there's no gate in the fence, php is shared nothing, these things climb over the fence, and do damage to whatever is in between your legs on the way over ... and for some, they do damage to the senses too ...
 
morns
 
what we really need is a browser that speaks fastcgi :D
 
8:28 AM
I handle somewhere of the region of 200 to 500 million API requests per week using inbuilt HTTP servers and their performance is stellar.
 
they're not big numbers, the internet is a big place
it won't catch on in any meaningful way ... it would have happened already, like 10 years ago
 
But I can compare them to what it took to handle those numbers using shared-nothing running through FastCGI and it's a huge difference
 
if you're using php, you are still shared nothing, it doesn't matter what software you use
php is shared nothing
 
If a single PHP script can process multiple requests in its lifetime, how is that shared nothing?
 
i handle 200 million api requests per week with php-fpm, so what
 
8:32 AM
The dick measuring contest has begun :P
3
 
@JoeWatkins As a matter of fact, you see a shift to serverless, which is exactly what PHP already has been doing for decades.
 
@beberlei It cut our server resource usage by 70 - 90% and our latency by 75%. Those were significant gains from not having to bootstrap each request. Caching is used heavily but we were sucking time just serializing / unserialising objects, now I just keep them all in memory
 
@MarkR i spend around 500-800€ on the four servers responsible for the API, pretty sure any engineering to reduce that is not worth it.
 
@MarkR php processes (interpreters) are shared nothing, what you're talking about is leveraging asynchronous concurrency within one process ... that's very different to escaping shared nothing ... start another process and see ...
 
latency is 12ms in the 95% percentile
 
8:38 AM
do you have workers a la gearman do work for you?
 
yes beanstalk, the API accepts data, processes asynchonreously, regenerates responses from it, responses can be stale
from the "average" request 7ms is spent in PHP (Symfony bootstrap + request cycle to be clear), 1ms in the controller, 1ms in redis and beanstalk
 
to talk about escaping the restriction of shared nothing is something like talking about escaping the necessity to eat food .. the process model is what makes php work ... nothing is going to change that ... if you change the process model, you don't have php anymore, you offload a bunch of problems onto the programmer that they are not prepared to deal with, you destroy the extension ecosystem because nobody but nobody (not even me) wants to write or maintain extensions that are supposed to
work in any other way ...
 
this is doable with php if you know the requirements from the beginning, then even shared nothing is not a problem
shared nothing is so powerful, i wouldn't want to trade it
 
that
 
@beberlei So almost 80% of your app's processing time is spent on bootstrapping?
 
8:47 AM
yes
 
80% of a tiny number is still a tiny number ... 100% of a tiny number is still a tiny number :)
 
its also not the total length of communication between client and server. If i optimize that 7ms away, the client probably sees 50ms anyways, so it does not care about 45ms
 
8:59 AM
Out of curiosity, does that leverage pre-loading?
 
no not yet, we just upgraded to 7.4 this week, will test that
 
I'd certainly be interested to hear how that goes with a large scale web app at some point.
 
i will certainly blog about that
 
Hi @JoeWatkins
 
hey @RemiCollet
 
9:09 AM
@JoeWatkins did you notice there is some activity on github for your extensions ?
 
I'm rather behind on that, it's on my list but I'm playing catch up for a week or two maybe ...
if there's anything real urgent you can't take care of, show me ?
 
well I say do a release in the interim, it might be a month or so before I get to sit down over a weekend and make actual improvements ... a release seems like a good idea ...
also, for future reference, if you feel a release of something is necessary, then do it without waiting for me ...
and sorry about the waiting for me ...
work/home life returned to normal at the beginning of this week, everything has suffered ...
 
@JoeWatkins I will also merge #137, as see a very simple trivial feature
 
hmm, not sure about that ...
it encourages a kind of incorrect way of thinking about channels ...
you can execute ::closed and have it return false while another thread is concurrently blocked and waiting to close the channel, you have no way to tell what is really going on ...
 
9:20 AM
ok
 
(because you can't hold the lock associated with the state of the channel, which the api maintains for you)
 
@MarkR one performance boost that php-fpm could still unlock would be a way to pre-start a request and wait for an incoming request after bootstrap. So in addition to preload file, auto prepend file and auto append file, you have a bootstrap_file option. when a worker finishes a request it immediately runs auto prepend file + bootstrap_file, then stops when its finished, waits for an incomign request and continues.
 
@beberlei Yeah, I really liked that idea. Never got around to implementing it...
 
what would that be for?
 
@Derick Latency reduction if your server is not fully saturated
 
9:26 AM
you would never run php-fpm near full capacity, because that way you have no wiggle room. By that definition whenever a worker finishes, there is not immeidately a new request lining up for it. The worker can spend this time bootstrapping, and then when the real request hits the webserver will only see the execution time for script - bootstrap
 
Once you go down that route, the natural conclusion is to freeze and fork the entire state, no?
 
that is the next step, but as you know freezing zvals is hard
 
Hiya. I have a couple quick questions w.r.t file locking and SQLite3. If I have a file open() with sqlite (READWRITE), flock() will (should?) fail to get a lock on it, right?
 
I would think the biggest challenge would be the need to invalidate any external handles, connections etc. The zvals themselves could remain as-is after that couldn't they?
 
that sounds a lot like circumventing shared-nothing again
 
9:39 AM
By that logic so is pre-loading (and you're right, it is... but there are benefits to it)
 
cmb
@undo why would you want to access the sqlite DB file directly?
 
10:00 AM
mysqlnd.debug doesn't recognize absolute paths with slashes ・ MySQLi related ・ #80115
 
10:44 AM
filter_var rejects scoped IPv6 literal addresses ・ Filter related ・ #80116
 
 
1 hour later…
11:48 AM
Morgens
 
Peekaboo
 
\o
 
12:06 PM
@Derick Well, I'll get one one day :)
 
Prerebeccaday
 
o/
 
12:26 PM
\o
 
It's Thursday, Thursday, gotta keep going through Thursday \o/
 
They make a compelling price for such a ton of power
 
1:13 PM
@beberlei A pre-bootstrapped PHP process, either frozen or not, would be a massive win just for cleaning up architecture. There's a ton of stuff you could then simplify in most frameworks, in addition to the performance benefits.
 
1:39 PM
such as?
oh, you mean going away from the shared-nothing architecture
use amp?
 
its not going away from shared nothing at all
its executing the common code of an application before the webserver needs it for a specific user, i.e. being at 20% of the request already when the user requests it
 
Oh right... I've got a beta to release, haven't I?
 
1:54 PM
@FlorianMargaine It's still shared-nothing during the request. It's about the pre-request setup being done once or in advance, rather than the request time having to handle that in every single request over and over again.
 
Wes
\o
 
o/
 
\o
 
o/
 
\o
 
1:58 PM
@Crell isn't that what opcache and stuff is all about?
 
It's a step beyond that.
 
opcache is about improving parsing/comiling step, this would be about reducing the visible latency of the runtime to the user. it obviously has the same runtime for the server
 
Think being able to configure a DIC or event dispatcher and have it "booted" and ready before the app starts without having to mess around with building optimized generated code. Or having the DB connection already open before the request arrives.
But still having the one-request-per-process separation.
 
cmb
@Sara yes, and @Derick may want to relase an RC. :)
 
@cmb #error "-mshstk is needed to compile with -fcf-protection" problem now on 7.4
I remember there was a followup patch for that after the pcre update
 
cmb
2:09 PM
Thanks! I just checked the ext/pcre/pcre2lib log; will have a look right away.
 
@Girgias s/per say/per se/ fyi.
 
Cheers, I was pretty sure I messed that one up but CBA to double check :')
 
Has anyone attempted to use the Psalm taint analysis for anything?
 
cmb
2:25 PM
@NikiC should be fixed: git.php.net/…
 
@cmb Thanks, works now
 
2:40 PM
If a zval is allocated on the C stack, I should call zval_ptr_dtor_nogc instead of zval_ptr_dtor, right?
 
zval_dtor(), I would think
 
@Sara That's an alias to zval_ptr_dtor_nogc IIRC
 
More ergonomic for an old PHP4 nerd like me though
 
at least in ZE4 it's an alias
Well :p
 
ZE3 as well probably, probably not ZE2
 
2:47 PM
@LeviMorrison Whether it's on the stack or not doesn't really matter ^^
Just whether it can have a cycle
 
Then you can only know this for constrained cases, such as knowing the type or value, right? If I'm getting a return value from a closure it could be anything and should be checked for cycles?
 
@LeviMorrison yes
 
Thanks, everyone.
 
@MateKocsis I'm diving into IMAP, wish me luck
 
cmb
... famous last words :P
 
2:56 PM
and Girgias was never seen again
 
This is a gold mine
fromlength = 0x00;
because why use fromlength = 0;
Neat I can't compile I'm getting this configure error:
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
@cmb is that due to PCRE?
 
cmb
3:23 PM
dunno; maybe make clean?
 
I did that before :(
Let me try a fresh checkout/buildconf/configure
 
Ah so it was IMAP
 
@Girgias /trollface
 
3:38 PM
Is using clone generally bad practice? I am thinking about doing it in tests right now but I could also think of scenarios where it could be used in the real world
I've always avoided it though since it seemed dirty, probably just because I've never seen it be used
 
Why would you need it in tests?
And yes clone has perfectly valid use cases
 
I want to create 5 responses with the same properties and add them all to a mock client's response queue
Looking at the PHP documentation I guess I can see the use cases that would be acceptable. I wish I could remember what I almost used it for in the past
 
Do they actually need to be different instances?
 
I suppose not
I moved the creation of the response out of the loop and it worked fine
But if it were an instance where they all had almost all the same properties, but I was cloning them to change just one property on each - do you think that would be bad practice?
 
4:02 PM
We don't test IMAP on CI do we?
 
cmb
4:13 PM
@Girgias I don't think so
 
Incident on 2020-09-17 16:14 UTC
 
How much better is PHP at omitting runtime checks with preloading, does anybody know?
 
@cmb Don't think so indeed, as even without configuring anything about IMAP I got a test failure
 
Essentially, is type inference with preloading actually any better? Theoretically it could be much better as instead of only looking at symbols in the current file you can look at any preloaded symbol.
 
cmb
@Girgias well, it is at least built on AppVeyor; but it is not loaded, so several mail() tests never run as well. I shall try to fix that.
 
4:21 PM
@cmb I'll see how far I get at setting up Azure
 
All issues have been resolved!
Partial System Outage
All issues have been resolved!
Partial System Outage
All issues have been resolved!
 
slow clap
 
4:36 PM
@Jeeves o rly
 
@Girgias Probably should set that up before touching it
 
@NikiC Well I had already started, but yeah trying to figure out how to make it work >_>
 
Would if(0) get optimized out even with -O0 CFLAG?
 
@SammyK Looks like it (at least on gcc) godbolt.org/z/P8hsxY
 
@IluTov Thanks! TIL about Compiler Explorer. :)
 
4:50 PM
Apache and PHP leaking memory and also does not releasing it ・ *General Issues ・ #80117
 
deja vu...
 
cmb
was expected; not the first time that person does that
 
I'll say something.
 
@PeeHaa RBAC system is in place on a good number of resources and working great! \o/
 
doh
 
5:13 PM
@IluTov That is both awesome, and filled with lurking terror.
 
5:24 PM
@StatikStasis Ooohh that's awesome \o/
 
Enabled pcre.jit gives different matches results than disabled pcre.jit ・ PCRE related ・ #80118
 
@PeeHaa Thanks for your help.
 
No problemo my dude
 
6:20 PM
> NO! I am not having problems with my script using all my RAM. No! My script runs fine, it starts fine, finishes fine with lots of RAM to spare. HOWEVER, if I execute that same exactly script over, and over, and over... in less than 15 requests I will end up consuming my entire VPS RAM memory (2GB) with TRASH/CACHE.
 
He's your friend though
 
yesterday, by Joe Watkins
can we make a brain a requirement ?
 
@Danack I think you need to follow your own advice, don't engage with trolls ^^
@PeeHaa How can being called friend feel so insulting?
 
:P
 
@IluTov he doesn't seem like a troll, yet... just misguided... but it's borderline
 
6:30 PM
@IluTov because it's emotional manipulation. It's the same as the charity muggers, who used to try to start conversations in the street with a hand-shake.
 
scientologists do that in hollywood >.<
 
/well, not right now....or for the foreseeable future.
 
the brief encounter I had, they basically just go in a crowded sidewalk and hand out flyers/pamphlets... no idea what I was handed but when I had a chance to look at it, I cringed and threw it in the nearest trash can
they probably do try to engage with people, but I didn't give them a chance when I realized I was standing outside a scientology center - "NOPE NOPE NOPE NOPE"
 
7:01 PM
Later all- heading to get a new puppy to add to the family.
 
:o
\o/
PICTURES!!!11111
 
^
 
Today I went on r/NoahGetTheBoat, I don't think I will ever be able to sleep again, some helpful advice, do not open a post tagged "NSFL" :(
 
user1804599
7:27 PM
/** @param callable():void $body */
function layout(string $title, callable $body): void
{
    ?><!DOCTYPE html><?php
    ?><meta charset="utf-8"><?php
    ?><title><?= \htmlentities($title) ?> &mdash; Yolops</title><?php
    $body();
    ?><p>&copy; yo momma</p><?php
}
 
user1804599
This programming style is great.
 
7:41 PM
:scream:
 
user1804599
I used to use <!-- at the end of the line and then --> at the beginning of the next line to avoid whitespace issues with styling adjacent elements.
 
user1804599
But using <?php and ?> instead is so much better.
 
Woo, I get my work machine tomorrow
 
user1804599
Will it work?
 
A perk of living two and a half hours away from their headquarters... it was shipped today
@rightfold I sure hope so
 
8:00 PM
@Tiffany you working from home?
 
@mega6382 yarp :D
I got lucky
 
8:11 PM
@rightfold yeah, both void and callable are terrible.
 
I feel like there ought to be more PDO stubs than this: github.com/php/php-src/blob/master/ext/pdo/pdo.stub.php
Especially given that file has 3 contributors. :-)
 
@Derick does xdebug use ext_nop?
 
8:35 PM
@cmb I would like to transfer the file elsewhere once I'm sure it's not in use
 
8:49 PM
@Derick Do you want to mark the Date extension already handled here? github.com/php/php-tasks/issues/23
 
@StatikStasis Why do you have something called master_key_database as public repo? :P
 
9:05 PM
what is the best way to handle white-labeling in a scalable system? where do you store the SSLs(letsencrypt) so that they are available across all server? and can be renewed periodically as well?
in the past what i did was to create a nginx reverse proxy, and use that to handle SSLs with the all the other servers behind a load balancer, but that meant that the proxy server wouldn't be able to scale out
 
all on different domains?
top level domains that is
 
yes, the users can add their own domains, so wildcard is not a solution
this is not a problem that I am currently having, but am just wondering what is the best solution for that and how do all those SaaS companies handle it.
 
You're describing what Platform.sh does. :-) I'm not sure of the exact details.
But largely involves multiple containers on different hosts and lots of nginx forwarding.
And multiple front-end proxies that they all live behind, load-balanced.
 
I use kubernetes so I usually just let cert-manager shove them all in a secret
 
@Crell but you're not yet in anycast realm?
 
9:13 PM
@MarkR hmm, how does that work? how do you manage that across a fleet of servers(containers) and how would that deal with scale-in and scale-out?
@Crell yes, I have heard that about platform.sh from Florian and some other sources.
 
@mega6382 Kubernetes architecture is based on nodes (which are servers) and you can horizontally scale them to many thousands
 
@Crell thats what I was thinking too, but that seems messy to me. I thought there might be more central solution or something.
@MarkR and it will share the same secret across all of them? and how about renewal? how will the new certs be stored, will that require a specific process or can that be automated?
 
@mega6382 Yes ACME will handle renewal, and the secret is shared
 
@Crell ah, you're just hosted at aws it looks like, okay
 
@MarkR does the sharing happen via an external drive mount or something?
 
9:17 PM
Nah, via the Kubernetes API
You'd have to look into the whole infrastructure
 
Interesting, I had been scared off of using Kubernetes from all the reviews online about how hard it is, so I never bothered looking into it. So, thanks I will give it a try :)
 
The important thing about kubernetes is... don't run your own cluster
 
will ECS be good enough?
 
@Crell there are a few other stub files for pdo!
By now all the internal functions have a stub, and the vast majority of arginfo structures are generated from the stubs.
 
EKS sure
 
9:23 PM
yes that
 
9:39 PM
URGGHHHHHH. I just love bugs that go away when you run them through GDB :/
If USE_ZEND_ALLOC=0 is set then it doesn't happen either.
It just hates me.
 
cmb
@undo okay. If you can use PHP 7.4, I recommend using SQLite3::backup() to create a backup (you could move the file afterwards, if a direct backup to the desired location is not possible).
If you have to use an older PHP version, you should get a shared lock on the database. I think that requires BEGIN TRANSACTION and an arbitrary SELECT.
 
10:00 PM
@LeviMorrison usually running gdb with valgrind helps, or using libgmalloc if you are on a mac
 
If I run it through valgrind it doesn't reproduce.
I'm pretty sure it's a zval address reuse issue of some kind on 5.6 that is fixed for 7.0.
Just need to convince myself of that enough to remove the test from the suite.
 
cmb
@LeviMorrison consider to mark the test as XFAIL
 
10:21 PM
base64_decode accept a malformed input ・ *Encryption and hash functions ・ #80119
 
10:45 PM
Any expert in dovecot and IMAP to figure out how to set-up authentification correctly... cause I'm getting stuck github.com/Girgias/php-src/pull/6 and I can't seem to figure it out localy either
 
What's wrong with the tests here? github.com/php/php-src/pull/6151
 
@Dharman clicking the tests tab get to the failed test(s): dev.azure.com/phpazuredevops/PHP/_build/…
 
@cmb Turns out it's not the bug I thought. I'm hitting a different bug where if I do a fully qualified call to a function instead of an unqualified call I get VM corruption elsewhere.
Note that call I'm qualifying or not doesn't seem to matter; I can change several different calls in the file and affect it too.
 
@Danack Yeah, but what does it mean memory leaks detected? Why is Travis stuck?
 
11:03 PM
@Dharman it means......that a memory leak was detected. Shocking, I know. I don't know anything about this, but looking below for a similar error, it seems the memory for the error string needs to be freed immediately?
 
@Danack Thanks
:D Silly mistake...
In PHP the memory frees you... from having to remember to free the memory
 
yeah....makes it a lot easire.
And Travis is having capacity issues I think, due to Microsoft giving Github actions for free for most people.
(and to be fair a better product).
 

« first day (3624 days earlier)      last day (1310 days later) »