heh, how do you go from CentOS7 to bleeding edge PHP 7 in production?
I plan to use archlinux for prod. Or gentoo if I learn that.
install them, run them
Ahrotahntee: https://github.com/gcds/action_blocks_concept Here is my proof of concept and everyone else what do you think about this kinda library? https://github.com/gcds/action_blocks_concept
Hi. I have an array $valuses = array(10,20,40,60,100) and I want to create new array with intervals berween elements in first array. So it should be $intervals = array(10,20,20,40) How this could be done?
I am trying to come up with an efficient way to query a massive list of servers every few minutes or so.. how could that be done economically
marchelly: simple foreach and bit logic would not work?
gcds, this would work like a charm, but I thought that it could be some magic like array_diff and so on
For each one, there is to make a socket connection, query for data, update the row in the database with like 10 columns ,etc.. it would seem like that could be pretty taxing to just create a cron task to update 25000 servers every 5 minutes, it wouldnt even work it would time out im sure
marchelly: you can do something magic with array_reduce if you wanted
Is there a reason that typehint errors don't try to autoload the hinted clas? class*
z1haze2, I don't know your case but such a job is for zabbix or nagios + script to update DB
Korvin, Why would a typehint trigger an autoloader?
This funky code: https://3v4l.org/JFHdF ^^ phpPrime I realize that this is ridiculous because I'm hinting against an alias