« first day (3007 days earlier)      last day (2167 days later) » 

00:12
o\
Wes
Wes
00:56
morn
 
4 hours later…
05:04
moin
morns
05:31
\o
05:54
Hi Morning
In laravel Encryption and Dcryption method used AES 256 standard to
encrypt and decrypt data on APP key base.
But Problem is that if huge amount of data encrypted in database, then we loss the APP key.
we can't decrypt the previous data with new APP key.
My question that is any solution for that encrypt and decrypt data without
APP key
06:16
think about it ...
@JoeWatkins thanks
06:35
Because Encryption and decryption fields should not depend on APP KEY, is any other method where we can write the encryption and decryption field that make secure data in database.?
07:16
@NikiC I that case the whole optimization is probably misguided, if we want to have support for extensions. Or we introduce a compiler flag to specify whether the typical scalar commuting operands do actually commute.
hi bob :)
08:00
pawky Chiefly British. cunning; sly.
08:19
@bwoebi I think we have such a flag actually
I could put the mul back in an instead make the entire optimization conditional on that
It's ZEND_OPTIMIZER_IGNORE_OVERLOADING
@bwoebi github.com/php/php-src/commit/… Makes more sense now?
R B
R B
08:46
hii all
hello all
why are so many (32) fixes not included in 7.3.1 ? Is the stabilization period that long?
sucks for bug-reporting - a lot of issues in 7.3.1 will already be fixed
R B
R B
I have a problem when PHPExcel downloaded after remaining code execution stops. Is any solution are there for the remaining code will execute.
@Sjon I think that list is too large. Someone dumped all the sec fixes that should be in 7.3.1 in there
But yes, many fixes will not be in 7.3.1
@Sjon I pinged cmb about the wrong news entries
09:19
@NikiC ah, that would explain it. Thanks
 
1 hour later…
10:28
oh. there was a winter bash. I just read the blog post. At first I thought they'd finally get rid of that silly thing for good, but it's just a recap of yet another installment
11:06
@NikiC yep, thank you :-) Did not know about the flag, but great that it already existed :-D
!!dad
Can February March? No, but April May
@JoeWatkins and hey Joe :-)
11:21
Morgnings
\o and o/
o/ and \o
ooof, its so damn cold out, I am shivering and my nipples are so hard they probably cut glass
thanks for keeping us updated on the status of your nipples ...
you are welcome ;)
11:43
@bwoebi typed properties is really killing me
The more you look the more issues there are
We're introducing some massive technical debt here, all for the sake of those damn references.
12:07
Uncaught Error: Class 'DOMDocument' not found
could I get some help installing this on PHP 7.2.5-1+ubuntu16.04.1+deb.sury.org+1
apt install php-dom

Package php-dom is a virtual package provided by:
php7.3-xml 7.3.0-2+ubuntu16.04.1+deb.sury.org+1
php7.2-xml 7.2.13-1+ubuntu16.04.1+deb.sury.org+1 [Installed]
php7.1-xml 7.1.25-1+ubuntu16.04.1+deb.sury.org+1
php7.0-xml 7.0.33-1+ubuntu16.04.1+deb.sury.org+1
php5.6-xml 5.6.39-1+ubuntu16.04.1+deb.sury.org+1
You should explicitly select one to install.
@NikiC I guess the most issues are real edge cases, where as a language we cannot just say "uh, don't do that, we don#t like this" Or are there actual big issues with them?
@AbdulSadikYalcin if php-xml is already installed you are probably missing an entry on php.ini to enable that extension?
apt-get install php7.2-xml

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
php7.2-xml : Depends: php7.2-common (= 7.2.13-1+ubuntu16.04.1+deb.sury.org+1) but 7.2.5-1+ubuntu16.04.1+deb.sury.org+1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
@bwoebi edge cases, lots of edge cases...
@NikiC but a lot of mistakes is just because there's no tests for that yet... Loads of them are not even hard to fix, just hard to realize you need to test them :-/
12:18
is the reported session save handler the same for memcache and memcached?
@NikiC what's this purple PRO tag on your github profile? :-D
Ah okay, thanks.
apt-get -f install

apt-get install php7.2-xml
problem solved
gee, thanks Windows for restarting and incorrectly shutting my VM down -_-
12:25
thanks
Wes
Wes
hacktoberfest t-shirt arrived \o/
@Wes yay!
reminded me to buy coffee mug
@bwoebi Probably student account shows up as PRO as well...
Makes sense
Wes
Wes
don't :B it's ugly
12:42
@Wes actively discouraging me from buying? lol
opposite of promoting your product, lol
unless it's reverse psychology
Wes
Wes
yeah i don't want anyone to waste money on shit i made :B
i am a not a good salesman, i suppose :B
too bad, I bought it :P
@NikiC for bugs.php.net/bug.php?id=77312 I've uploaded a debug-build but instead of segfaults I get ANOM_ABEND with signal 6 :( Should I attempt to run fpm through gdb for a specific pool ?
13:01
@Sjon yeah, or get a trace from a core dump
currently, no segfault = no coredump
@Sjon you should get coredumps for sigabrt as well
... I think
@NikiC my guess is, this is caused because fpm has its own processmanagement - so the abrt doesn't bubble for systemd to capture it
Wes
Wes
@Tiffany :B
13:17
@Sjon have you checked articles like ma.ttias.be/generate-php-core-dumps-segfaults-php-fpm for how to turn those on?
@Danack yeah - unfortunately that's all configured correctly
@tereško Sounds like a good resolution for a 19" monitor, but the aspect ratio is quite weird - 3440x2150 would be more like it.
13:32
Morning!
@bwoebi Do you know if this should error or not? github.com/php/php-src/pull/3734#issuecomment-452698064
@bwoebi heh, it's actually for 34'' :D
oddly enough, the GPU/monitor market has been stagnating a lot
... I wonder, what will CES bring
I'm hoping for lower prices.
I bought my monitor 3+ years ago
it has dropped in price about 10% since then
@NikiC no - added a comment
13:40
But yes, I'm inclined to agree that we should only enforce the type on __get if the property is visible but unset/uninitialized, not if it's not visible
This will need some changes to opcache though, as it will now have to respect visibility when fetching property types
There's one catch to it though, the behavior is different depending on your current scope. I.e. with weak types you'd get a string -> int cast (if possible) in the class scope and otherwise a bare string.
Unsure
Hrm, true
But that's related to the fact that we do not have proper invisibility of private properties and leak their existence.
I'm still inclined to leave that as no error, on the premise that a property you can't see shouldn't affect your behavior
@NikiC I agree on that point.
I'd put that pretty much in the edge case category where we just need "some sane-ish behavior" and be done with it.
14:03
user image
5
I just miss the things to hold the pants and I'm all set :)
iterator_to_array incorrect result when using yield from – #77433
@FélixGagnon-Grenier braces...and I also don't don't normally wear a hat.
Wes
Wes
i don't understand the need the need for references for things such as object properties
:P yeah, it's cold in the office sometimes
14:19
php-fpm workers are segfaulting in zend_gc_addref – #77434
@Wes It's not only about object properties though. Also future scope, references into typed arrays etc. One major reason for typed properties by ref is existing code which should still work more or less, with types slapped onto it.
@Wes Avoiding circular refs with closures. :P
Wes
Wes
go away
*throws stuff*
:B
what's that?
Wes
Wes
14:38
@kelunik *confirms throwing of stuff*
is that the only way to accomplish that?
simplified example though?
@Wes no, it isn't. Your other option is having a Data object as sole property of the class
which is ... ugly as well :-D
@bwoebi Yes, like in github.com/amphp/cache/blob/…, /cc @Wes
is composer being really slow for anyone else ?
Wes
Wes
it's always been?
painfully so today
14:59
@JoeWatkins run it with -vvv to see which bits are being slow? And do you mean slow to composer update or slow at getting new package versions from github?
I've converted the assert into a segfault - but somehow fpm still fails to coredump. Just logs child exited on signal 11 (SIGSEGV) and starts a new child
@Sjon Do you have core dumps enabled? ;-P
@kelunik should be good - cat /proc/xx/limits confirms it
^ for all fpm childs plus master
Might permissions prevent writing the core dump to disk?
15:58
good morning o/
Can anyone here point me at resources for setting variable text on a beizier curve in a pdf?
16:17
could anybody explain me, how could be this piece of code at that stage in constructor initialized? Thank you github.com/nette/latte/blob/…
@FantomX1 Not familiar with how that class is intended to be used but I imagine that exists for cases where the template is extended and blocks is something other than an empty array.
Which one is correct?
- // Get all categories id the products belongs to
- // Get all categorie ids the products belongs to
- // Get all categories ids the products belongs to
@Shafizadeh the correct english would be Get all category ids the products belongs to
16:33
@Orangepill I mean there is processed property blocks inside the constructor but there is no space where it could be set prior
maybe some setter
16:46
posted on January 09, 2019 by CommitStrip

17:02
@FantomX1 like this:
class FooTemplate extends Template {
	public function __construct() {
		$this->blocks = [1,2,3];
		parent::__construct();
	}
}
For the record, I don't approve of that.
17:30
@NikiC how to tell at runtime difference between bind static for global and for closure use() ?
18:01
@JoeWatkins not sure if there is one
I thought so ...
bugger
18:24
Documentation linking issue for hrtime() – #77435
it's not pretty, but I can figure out from the var name on op1 if it's a symbol in the calling scope ...
I wish there were a way to know just by looking at operand or ext though ...
no, wait, I can't ...
18:53
I sort of can, with false positives ... I'm okay with that ...
@JoeWatkins you can try looking at the corresponding bind_lexical opcodes
I missed that ...
why isn't that output for use ?
isn't it?
There should be bind_lexical in the calling scope and bind_static in the closure
oh oh, I wasn't looking there ...
yeah that's better
19:12
can you think of any other dangerous opcodes, other than BIND_STATIC (for lexical var) and DECLARE ops ?
19:43
@JoeWatkins Dangerous how?
I'm working on copy code for sandbox, so can't allow things that would break or would require me to break isolation, like declare_*_class where the class was already compiled in the calling thread so I'd have to copy the class from the parent, which we don't want in a sandbox ...
things like binding lexicals would write affect the parent too ... I done a quick scan of vm_def, I can't see anymore ...
yield/declare and bind static look to be the only troublesome ones
...
why
why do you do these things
:P
haha, it's okay, nobody will use it, it will just sit on github and be ignored ...
but it's kept me amused for a day or two ...
@JoeWatkins no, no it won't
@JoeWatkins By the time 7.4 rolls around, expect angry users at your doors who need you to update this business critical extension :P
I won't be that mad ... it's not actually very scary, even though threads are involved, there's no parralel execution of user code at all ...
is probably the simplest routine for a thread I ever wrote ...
it still took several days to get right ...
and anyway, doors are not see through, I can just hide behind the aforementioned door until the bad people go away ...
20:01
I just realized I probably have undefined behavior in my patch for variance.
This is because internal arginfos and userland arginfos are not the same.
Would probably crash if we had the right test case.
Hi everyone
hi
o\
Is this here quiet always?
:)
@FGDeveloper not always
I'm have not chance :)
20:18
Anyone know how to kill an actively running query in mysql and commit the transaction instead of rolling it back? The sql chatroom seems dead :(
@CaptainHypertext if there a room is dead you can activate it, or create another with different name.
20:35
o\
nvm the query ran off the dead-end bridge and killed everyone on board.
20:54
o\
@tpunt hello
@tpunt unable to login phpinternals
if I edited someone's answer and converted it to a canonical, would my edit be eligible for bounty @MadaraUchiha? Or should I create the canonical as a separate answer?
first time in stack overflow chat :)
20:58
@BlueDream420 been in another SE communities' chatroom before?
Nope first time
ah good .. welcome
thank you
welcome.
for me too first. :)
But today nobody want speak.
Is it possible to change your user name without starting a new account? I made this 5 or so years ago and now want to maybe add to resume, But don't really want future employers to see BlueDream420 as my username lol
Ah sweet I can
21:21
o\
21:49
Guys, who can explain in few words what is non-persistent memory allocation in php?
@legale non-persistent will die with the request - phpinternalsbook.com/zvals/…
!!aliases list
As far as i understand persistent memory allocation is often used in zend_hash.c to avoid memory limit overlow set in the memory_limit ini setting? Or because of perfomance?
22:01
!!alias
3 messages moved to Trash
!!alias list
@legale zend_hash supports both persistent and non-persistent hash tables
@BlueDream420 you can change your username once per month
Persistent allocation APIs have a flag whether they are actually persistent or not
The vast majority of hash tables will be non-persistent
22:05
@NikiC
is there any non persistent analog of this?

static zend_always_inline void zend_hash_real_init_packed_ex(HashTable *ht)
{
HT_SET_DATA_ADDR(ht, pemalloc(HT_SIZE_EX(ht->nTableSize, HT_MIN_MASK), GC_FLAGS(ht) & IS_ARRAY_PERSISTENT));
HT_FLAGS(ht) |= HASH_FLAG_INITIALIZED | HASH_FLAG_PACKED;
HT_HASH_RESET_PACKED(ht);
}
!!alias
@BruceWayne I'm sorry Dave, I'm afraid I can't do that
It's cool. Just seeing what it'd do anyways.
@legale Whether it's persistent or not depends on how you constructed the hash table
@nikiC what is the main advantage of pemalloc?
22:11
@legale pemalloc chooses between emalloc and malloc (and makes it infallible)
@nikC and?
@legale In that case, is the question what the advantage of emalloc is?
yes
@legale Enforcing memory limit and cleaning up memory at the end of the request, and performance.
Especially because we don't have to care about threading at all, our allocator is generally faster than whatever glibc provides
for a calendar layout in a website, which layer should the logic that figures out the days in the month be placed in an MVC-like architecture?
this code has it it in the view
22:23
@NikiC so emalloc() is faster than malloc()?
@Tiffany If I awarded the bounty to the answer you've edited
The original poster of that answer is going to be awarded the points.
@legale yes, or at least it's supposed to be ;)
)
@NikiC thanks a lot again
@MadaraUchiha damn
github just asked me to set my status.. this is getting a little too social-networky for me
22:37
@FélixGagnon-Grenier have you head this band: youtube.com/watch?v=SQNtGoM3FVU //cc @Tiffany ?
@tereško makes me think of youtube.com/watch?v=ZdGlx2pm6W8
@tereško I watched Devilman Crybaby yesterday
so depressing, and also kind of made me think of Parasyte, but went in a completely different direction
I have seen some of it
did not finish
like the last three or four episodes, everything starts going to shit
never got that far
but I can see how you might have made the mental jump between my link and that anime
no, I was just thinking about it cause I remember you talking to samayo about it
and I was looking for something to watch yesterday...ended up binging through the whole thing and didn't fix my dryer :(
22:54
hmm
travis is doing a new thing, everybody panic ...
does it want to know your relationship status?
Crybaby was justhe last anime I "dipped into", @Tiffany
... I have been something of a lazy watcher there past years
22:55
@tereško it starts out all cheerful and stuff, with badass demonman killing demons, then starts to get dark, then darker, then darker, then a spoiler I won't say
all hell breaks loose, essentially
the first 3 episodes were already pretty dark
it seems to be the trend these days: moe, isekai or dark
there is way too much isekai
@tereško it gets way worse
basically the theme is betrayal
23:24
o/
evening
23:45
@NikiC For PHP 8 do you think I can add arginfo to Iterator methods to take no args?
@NikiC 7.4 doesn't output bind lexical
23:58
o\

« first day (3007 days earlier)      last day (2167 days later) »