« first day (2524 days earlier)      last day (2415 days later) » 

12:47 AM
DUE TO COMPANY PASSWORD POLICY WE WILL BE REQUIRING ALL STAFF WHO GET THE NEW IPHONE TO HAVE THEIR FACE SURGICALLY ALTERED EVERY 90 DAYS
3
 
1:16 AM
how to concatenate this two strings like this mobile screen = msocbrieleen
 
1:27 AM
Decided to actually read PSR-2 in detail.
> The keyword elseif SHOULD be used instead of else if so that all control keywords look like single words.
... this is a bad argument because else and if are single words.
 
1:41 AM
concatenate two strings merged together like this "hello" "world" and output is hweolrllod
please help me how to do this??
 
Mornings o/
 
Wes
1:57 AM
hey levi, around?
 
@Wes Off and on; what's up?
 
Wes
i want to rfc something fast, very controversial @LeviMorrison deprecation of case insensitive functions in 7.3 and eventual removal in 8, for the reasons we both know
 
Only functions?
 
Wes
functions and methods obvs
or is there something else that is case insensitive? :|
 
Class, interface and trait names?
Namespaces?
 
Wes
2:08 AM
oh, right. listen, i don't even know, because i've always used them with the correct case
yeah those too i suppose
 
I mean, I would +1 it but I don't know how every else feels.
 
Wes
i'll try
 
Case sensitivity has localization issues so in my view it's partly a correctness issue.
 
Wes
they can vote no
however i only have a feeble grasp on how the things are implemented
is it possible to implement the deprecation warning without adding overhead?
 
There will be overhead because it's one more thing to check on every symbol declaration. It's really a question of how much?
 
Wes
2:13 AM
when override a function case must match, when you call a function case must match, if it doesn't it must emit the notice/strict standards warning whatever
and same things for classes etc.
 
By the way, here's an example of a Turkish locale bug: java.sys-con.com/node/46241
 
Wes
isn't making it case sensitive going to avoid this kind of problems?
 
@Wes Yes, but my point is that it's not just a performance or some form of preference; there can be actual correctness bugs.
It's much easier to make everything case insensitive since most things are already that way, and when it works case-insensitivity is more forgiving to the end-user.
But it's less likely to be correct, which is more important and therefore I would prefer to move to case sensitive everywhere.
 
Wes
i think you should write the rfc :B
 
We have a long history of this bug resurfacing in PHP: bugs.php.net/bug.php?id=18556
 
Wes
2:26 AM
i don't really have an argument for the change, except that the community have already avoided relying on the feature and used symbols with the correct case for years
there's even a psr about that i think
so the practice is well established already... should be made official
can you write the rfc please? it would be much better if you did it rather than me :P
 
I haven't the time.
 
Wes
i can try writing it but i really have weak arguments so far. and i'm not sure i've understood this locale issue
 
In Turkey capital i when lower-cased because a different i than it does in locales basically everywhere else.
 
Wes
oh
 
I believe there is a reciprocal issue with lower to upper.
But point to the bug because it was fixed, then it resurfaced for years before being fixed again.
It illustrates the pain PHP has had with this issue already, as opposed to some other community.
 
Wes
2:38 AM
if you could help with me with that i'll try to elaborate on your point(s). i wanted to go pretty much with just: nobody needs it, it just causes confusion, without going too much into details
i will for sure include that bug, but it could do more harm than good... seems a desperate attempt to convince them to vote yes... (i haven't read the bug pages yet tho)
i think that fixing a good practice and third parties guidelines that pretty much everybody already follows, is more a solid argument than that kind of stuff. but i can add a note
thoughts?
 
Wes
2:55 AM
@LeviMorrison lol that bug is ridiculous :D
 
3:27 AM
@LeviMorrison yeah, they have dotted and undotted i in both lower and upper case, so dotted lower goes to dotted upper (and vice versa) and likewise with undotted
 
Wes
3:45 AM
\o
 
Hey, does anyone know how I can find the last wednesday since today to occur in php?
Wait could it be as simple as doing echo strtotime("last wednesday"), "\n";
 
4:00 AM
Sadly last wednesday also counts this wednesday rather than giving me today
 
Wes
@lix check your timezone settings first
 
Aye I did, set the timezone default again and the same thing happens
 
Wes
what's your actual code? can you put it on 3v4l.org ?
 
```
 date_default_timezone_set('Europe/London');
        print_r2(date("jS F, Y H:i", strtotime('next wednesday')));
Sorry It's been a while since I've been in chat ;-)
Oddly enough last Wednesday shows the 6th, next Wednesday shows the 20th
I'm basically trying to construct an algorithm that looks at when the last Wednesday was and then updates a week count so I can keep a tally of when things happened on certain weeks. There's a reset that happens every Wednesday where week counter needs to be increased, I was hoping to find it via this strtotime and then have the script called via a cron job so it increases the week count causing the actual form to be reset
I suppose actually what would be better would be to schedule the cron job specfically on that day and time.
 
Wes
4:20 AM
 
@Wes change the strtotime to last wednesday and it doesn't show today
Sadly I need it to count the last Wednesday as today
 
Wes
so you want last wednesday to return today if it's wednesday or the last one occurred and terminated?
create a datetime object for "today", check if it's wednesday, if it is use that one, otherwise query "last wednesday"
 
Yeah that was my thinking after I couldn't get the above to work, though I think timed cron jobs may surfice
 
4:35 AM
Typo in session-set-save-handler – #75198
 
Wes
4:51 AM
@Saitama i got sucked into initial d
it's so stupid but i'm watching it
 
morning room
 
5:17 AM
is php available for zebra printer?
 
6:00 AM
I didn't even know you could print a zebra
 
Random php fatal error , Class contains 1 abstract method – #75199
 
@JoeWatkins lol
btw morning
 
o/
 
6:23 AM
hi, is phpStorm really good (to people who are familiar with it) or is it overrated and so on? Could be as compared to NetBeans, Eclipse
is it really a "Mercedes" or "BMW"
?
 
@AaronSmith its really good
 
ok
thanks
I've been using it for 2+ days now, I am learning it
 
Takes a little bit of time to get used to it, but my productivity went through the roof after a couple of weeks of using it (coming from sublime text with lots of plugins to make it IDE like)
 
I used netbeans for several years, the transition over to phpstorm was really easy and some of the features are super useful.
 
I started with NetBeans, I kind of use it still for php exercises, I am learning
I am doing a proper edu, reading the whole php.net and things like this
I am able to do it now, full days...
 
Wes
6:25 AM
@Saitama actually i've decided it's the stupidest thing i've ever seen
 
I mainly changed because I primarily use webstorm for Vue/React and I thought I'd see if the PHP version was as well thoughtout, turns out it is.
 
I want to do PHP (the main thing), MySQL (also reading the whole manual and so on), JavaScript, jQuery - so the phpStorm should be good for just this
ok, thanks a lot!
I was not sure
 
If your going to be moving towards more JS / Jquery focused stuff webstorm may be a better fit for that, but if it's got PHP, PHPstorm is great.
 
by the way, would you be familiar with any good sources of php exercises, other than w3resource.com?
some book maybe or something like that?
I did not see too many of that on the Net; I will finish the w3resource.com ones and I could do some more
I read somewhere that there are websites of USA colleges and they post these type of exercises there
 
fundamentals maketh the developer, If your still learning learn Gang of Four Design Patterns are a great place to start and learn.
I'd suggest reading and applying toy examples from head first design patterns, you can grab a pdf online.
 
maketh*
 
I read that already, I think, like 5+ years ago
 
@JoeWatkins good spot.
 
and shameless self promotion... patricklouys.com/professional-php ^^
 
I have like 6 years of good experience in websites / social media / analytics, things like this, I am moving on to programming now, so the websites part I should be good (I feel this way, good / strong, experience, but this may be "subjective" too)
 
6:34 AM
@AaronSmith If your already feeling strong, try building something then make it more complex. Ideally you can also bolt on a framework that's popular, what's your motivation?
 
@Patrick have you decided publisher yet?
 
I was trying to create a tube script, but I want to learn the theory first, this is needed, I think; it would be like attempting to make a surgery before knowing the theory first
this can make a lot of a difference I think, and the theory should be a very important part; you can take 1,000 programmers and if you want to probably order them from the best to the worst (speed, completion of a task, theoretical knowledge); even 100,000 should be a doable thing
so this is the theory part - it is important - the quality of edu will show and it will be generating better progress over time too (from experience)
I work on xxx sites
the best case scenario I could be writing php / MySQL / JavaScript software for xxx sites, for sale
and maybe do the programming, but this would be the BEST case scenario, this is not an easy thing
 
@Linus I'm self publishing. From everything I've read, a traditional publisher doesn't add much value these days, but they eat up all the profits.
 
adult paysite cms, adult affiliate program cms (connected to the first), adult pic / tube script, pinterest clone script, link exchange script, and maybe other things
 
I know that if you are choking, and I try to dislodge the item a few times by normal means, and you still cannot breath and there is no obvious obstruction I can touch with my fingers, I should reach for a knife and make a half inch wide and deep cut under Adam's apple with it, I should then snap a pen, or grab a straw and shove it in the hole ...
I know the theory, should be okay ...
 
6:40 AM
@Patrick ah fair enough,and what about marketing,how will you gain audience?
 
lol digital ocean "lost" 100$ of my balance .. again!
and mornings
 
@RonniSkansing uhh?
 
@Linus first time I transfered a 100 from paypal. The money did not appear on my DO account. I made a ticket, they apologized as they got the money but some "error" had happend.
A couple days later they had fixed it
Today I wake up to a "your account is in in overcharge" and the 100$ are now completely gone again (from the billing history also)
 
@Linus my blog. will write more often when I am done with writing the content
 
learning theory is the easy bit ... don't jump into some really complicated fully blown idea as your first project was the moral of the story ...
 
6:44 AM
@Linus tried tweeting for a while, but I get this feeling that twitter is on it's way out. Or maybe my tweets are just not that interesting :D
 
@RonniSkansing seems like they always have issue while payment,i faced similar issue in past and they always apologize for that in end :P
 
fun, I only had this previous experience and now this
 
@Patrick i always see your tweets :)
 
I had good experience with DO, but something like this is a real deal breaker for me
 
:P
 
6:49 AM
@RonniSkansing So far I never had a problem with them, but I just let them charge my credit card
 
@Patrick dosent something like this make you want to check up on what has been charged?
I was very close on just putting money on it because I couldnt remember I filled it recently
 
@RonniSkansing i can see it on my CC statement and I get the DO invoices every month
 
you might wanna turn off your BT for a while: armis.com/blueborne
6
 
7:10 AM
problem with array, foreach and reference – #75200
 
7:44 AM
@Gordon oh god
 
Wes
7:57 AM
buondì
 
Anonymous
mornin
 
mornings
@Wes which one?
 
Wes
> Initial D First Stage
 
exec('getmac'); Not working on server.
but works fine in Localserver.
 
Wes
ok.
 
8:07 AM
ok.
 
is there any sollution to get client mac?
 
@Webster getmac is windows specific?
 
@Wes oh, I haven't even watched it :P
 
also what do you need a clients mac for?
 
to prevent user from login
 
8:10 AM
@NikiC Can I steal your logger coroutine example from nikic.github.io/2012/12/22/…?
 
Wes
@Saitama 2 minutes of intro theme, 5 minutes of weird song at the end. wtf
 
:D
 
Wes
you people are weird
 
watch steins;gate, if you really want to watch a nice anime
 
@Saitama s/watch/read
 
Wes
8:12 AM
no thanks. i've had enough for like 20 years
 
y u do dis?
 
bcoz me enjoy it long time
 
@Webster the client can spoof their mac address
 
@Wes well, :), but its really good, its on yt with dubs, could give it a try youtube.com/playlist?list=EL3n57TtnN3tY
 
Wes
dude, it's like i suggested you to watch F1. it's never gonna happen
 
8:19 AM
it was worth a try :P
 
Anonymous
@JoeWatkins can we place bets on whether he stops?
 
@JayIsTooCommon 'he' as in?
 
0-column rowsets not identified – #75201
 
\o
 
8:35 AM
What do italics names mean?
 
o/
 
\o
 
@JayIsTooCommon he didn't, he replied with "this is your fault too"
 
Anonymous
@JoeWatkins to you personally? I don't see the reply to internals
 
to rms, niki and andrey
 
Anonymous
8:39 AM
ah
 
@JustCarty room owners
 
Hi all,

I should have added Joe to previous mail. He is responsible for hash_hkdf() mess as RM also.

On Wed, Sep 13, 2017 at 3:24 PM, Joe Watkins <pthreads@pthreads.org> wrote:
This proposal was rejected.

6 months has not passed since it was rejected.

There will be no vote on these proposals in the near future.

Please stop.

Joe

The votes are from ignorants with few exceptions that consider BC.
I'm tired being whistle blower.  Joe, if you still hash_hkdf() signature is
proper, you should read RFC 5869 carefully.
 
ah, the drama
 
Wes
ah, the melodrama
 
unsure if I should try again ...
 
8:52 AM
oh, is this the y guy again?
 
this wouldn't have happened with Java
 
Anonymous
@JoeWatkins imo, if he messages internals again with the same content, it should be deemed spam
 
Wes
@Gordon can we adopt that as php's motto?
 
good mnnriog
 
@Wes sure
 
Wes
8:55 AM
brilliant
 
Wes
o/
 
I think I will not try again, there'll be no vote, he can piss into the wind for all I care ...
 
Anonymous
!!wotd
 
concatenation: a series of interconnected or interdependent things or events.
 
9:01 AM
> You seem to forget that autoloading is an option, not a requirement. I don't use autoloading in my 14 year old framework for several reasons:
internals would be easier to read if I could just purge a few people ... from humanity ...
 
Wtf
 
Wes
> - ...
- ...
- ...
- ...
what are the reasons?
 
I mean, I know we're all usually supposed to say "there's a right place for everything, use the right tool for the job" etc etc etc
I genuinely believe that there are two things that should be leveraged if you can: autoloading, and auto-DI
 
"I don't use autoloading in my 14 year old framework for several reasons" These letters are now burnt into my laptop's pixels. #php
Tony pls
TONY!
TONY STAHP
 
@Ocramius HAMMERTIME!
 
9:07 AM
SHUT UP @Jeeves!
 
@Ocramius What are you??
 
Anonymous
> An autoloader did not exist when I created my framework.
I built an alternative mechanism into my framework, so I don't need an
autoloader.
I don't like the way autoloaders work - all my class names are in snake
case (lowercase with underscore separators) and the autoloader converts '_'
into '/' thus producing a file path which does not exist.
 
Wes
who is writing this
 
Anonymous
an ass hole
 
Wes
link?
 
> However, I would be totally against switching the rest of the language to be case sensitive for the following reasons:
> - if people move from keyboard input to speech recognition, then simply speaking a name would not work - you would have to spell it out character by character, and specify either upper or lowercase for each character.
 
Wes
is this guy fo real
 
@go_oh Hello can please you help me
guys… this is a trap? right?
 
Anonymous
no, go and help her
 
@Gordon That profile cover image...
 
Wes
9:17 AM
dude the page contains vaginas @Gordon
NSFW ^
good thing i'm not at work :B
anyway, block/report for spam as i usually do
 
@Wes it says 4xvids right there. y u click it?
ah well… probably because it says 4xvids
 
Wes
i have no idea what that means
 
awwww. you are such a cute innocent manatee squid @Wes
 
he's also completely full of shit :D
 
Wes
xxxx vids?
it's not that obvious.
 
Anonymous
9:21 AM
you're not fooling anyone Wes
 
Wes
:B
 
If Uncie Gordon knows what it is you do
 
Anonymous
!!urban uncie
 
whatchoo talkin bout willis
 
Hmmm.. Now I'm worried that PHP may actually just be romanian
 
9:30 AM
@JoeWatkins the guy is deeply troubled in the head. I think there needs to be conversation about forcing him to take a time out - which I doubt will help him, but will give a respite to the list.
Oh, I hadn't expanded that email.
That time out needs to happen now probably.
 
Anonymous
:B
 
Interfaces shouldn't be able to define a constructor – #75202
 
^ @pmmaga
I think it shouldn't be possible to make private methods final, or at least it not having any effect on child classes.
 
@pmmaga With a name like IAdapter it might be Hungarian
 
@kelunik context?
 
@kelunik I've done that one but it's kind of waiting for the right time (probably 8.0)
About the interfaces, it's a good point. especially considering the fact that parents can't enforce it
but outright rejecting it may be too much, maybe silently ignoring it would make it easier to pass
i can see some usefulness in forcing a constructor signature though
 
@pmmaga PHP 8 should definitely enforce it.
 
Wes
@Jeeves i wouldn't do that so fast @kelunik
 
@Wes If you saw them live they would convert you, you would belong to the army.
@Wes Who is that girl I see?
 
Wes
Type<IAdapter> $x = new Type<MyAdapter>;
IAdapter $obj = new $x([]);
 
9:53 AM
@pmmaga Yes, there are some use cases, but no reason to apply other rules to interfaces than parent classes.
 
@kelunik ah, so you would actually prefer that both interfaces and parents can enforce the signature instead of neither
 
@pmmaga Either both or none, but not inconsistent.
And actually it doesn't really make sense to enforce a constructor with an interface.
 
Wes
first-class classes might have the LSP applied to constructors as well
 
4 mins ago, by pmmaga
i can see some usefulness in forcing a constructor signature though
Other than making me sad, what's the usefulness ?
 
@Danack I thought about that, and it doesn't really. Not with an interface.
 
9:56 AM
@Wes Or just remove constructors.........
 
Wes
@Danack

Type<IAdapter> $IAdapterFactory = new Type<MyAdapter>;

IAdapter $obj = new $IAdapterFactory([]);
which also promotes the use of wrappers over inheritance
 
@kelunik totally agree that it should be consistent
 
Basically an interface with a constructor doesn't give you any benefit. At the point where you can use type declarations, you already have an object.
 
Wes
...
@kelunik can you read what i just said
 
@Danack not really sure TBH, I can imagine that it could be used for some extra magical stuff. but you're right, it probably does more harm than good
@Wes you can still achieve this without the constructors, no?
 
10:03 AM
@Wes Yes, with generics and factories there could be a use case, but where's the real world use case? At that point you can just call new there and drop the factory, no?
 
Wes
interface Foo{ function __construct(int $bar); }

class MyFoo1 implements Foo{ function __construct(int $bar){} }

class MyFoo2 implements Foo{ function __construct(int $bar){} }

function gimmeFactory(Class<Foo> $fooClass){
    return new $fooClass(42);
}

Class<Foo> $fooFactory1 = new Class<MyFoo1>;
gimmeFactory($fooFactory1);

Class<Foo> $fooFactory2 = new Class<MyFoo2>;
gimmeFactory($fooFactory2);
 
Yes, but we'd need generics and class types for that.
 
Wes
i'm not going to explain you what are the advantages of metaprogramming :B it's not plenty i know, but i wouldn't explicitly deny that
 
@Wes I want types......but I don't want them to be done through class inheritance:
typedef BarFactory = callable(int, int): int;

class FooBarFactory {
	public static function create(int, int): Bar
}

function createBar(BarFactory $barFactory, int $x, int $y) {
	return $barFactory($x, $y);
}

createBar([FooBarFactory::create]);
/also, why not a pony?
 
Wes
i'm not getting it
how is BarFactory inferred?
 
10:10 AM
@Danack Why the array brackets there?
 
Wes
@kelunik wesnetmo.blogspot.com/2017/07/… read the bit about construct at the end. i'm not entirely sure i've explained my point there. i still need to finish that article
 
s/brackets/no brackets/
 
@Wes Just clone the passed instance in the constructor.
Or just don't have mutable state like that and make A immutable.
That's why Artax uses immutable request objects, for that exact reason.
 
@Wes PHP does a check on the callable passed in to make sure it has the same signature.
 
Wes
@kelunik sorry wrong link -__- wesnetmo.blogspot.it/2017/07/…
at runtime @Danack?
 
10:13 AM
at run time.
 
Wes
not really a fan of that. id prefer named stuff and implemented explicitly
$a = function() implements MyFactory{ };
$a();
 
that's an alternative. But the main thing is....nothing to do with classes and class based inheritance.
 
Wes
it can be both. dunno. i'm confused about it
 
@Wes The issue here is really that PHP takes those declarations as the same property, see also 3v4l.org/QvE32. If you execute something like that in Java, you can access super.x as well as x / this.x.
 
hello can I ask about csv?
to php?
if a have this

$x = "hello world";

is it possible in excel to display it like this

hello
world
 
10:22 AM
impossibru
 
Wes
@kelunik are you saying that fields have parents like methods in java? lol
 
@JoeWatkins ok sir thanks just asking hehehe
 
oh, I was not being serious
I'm off to shout at some teachers ...
 
@Wes Fields are not dynamically bound in Java like methods, a class always accesses its own fields. It inherits the parent's properties, but its own declarations hide them.
 
10:26 AM
@PureRhymerOrganization Sure. file_put_contents("hello-world.csv", "hello\r\nworld\r\n");. You're welcome. :)
 
Wes
anyway of the many things you could disallow in php you picked just one that does no harm :B
 
@kelunik not new cell but in the same cell sir
 
@PureRhymerOrganization You have to search for escape sequences in CSV then, not sure whether they exist.
 
@Danack Want to coauthor primitive type extensions? Like type EmailAddress extends string { if (!isValidEmail($this)) { throw new \TypeError("..."); } }. Every time there's a write it will validate it using that stub. I think you have suggested something like that before.
 
Wes
10:33 AM
design by contract @kelunik
function EmailAddress(string $email){
    if(!isEmailValid($email)){ throw new InvalidEmailException; }
}


function giveEmailAddress(string{EmailAddress} $email){

}
 
I prefer function ... (EmailAddress $email) { ... }.
 
@Wes that would better work with a class, that has toString
 
Wes
like, with autoboxing?
in case, meh. i don't like implicit things
 
I want to develop a site in php,where with amazon product details are linked to my website using amazon associates services .If any person know whether,we have to save each product details in database,or the API will give automatically the details of the products and simply link all without saving in my database.
 
@kelunik Sure.....I can do the words.....I have zero idea how that could be implemented in PHP.
 
10:40 AM
@Danack Same here. Maybe @bwoebi could do the implementation.
 
SOrry if there is mistake to ask in chats
 
!!welcome AMallal
 
Welcome @AMallal, please read the Chat Guidelines
 
thanks
 
Anonymous
@AMallal depends on throttling how many times you plan to hit the API
 
Wes
10:41 AM
@kelunik are you sure that's a good idea?
 
@JayIsTooCommon So I dont have to save it in my database ?
 
@AMallal If you plan to show the same products, cache them. If they're dependent on search terms for example, just re-request them.
 
Wes
it seems to me it is too sophisticated to be a good idea. calling a function that validates a particular string is much simpler
as simple as assert(isValidEmail($string)) but enforced in the type declaration
 
Anonymous
2 mins ago, by JayIsTooCommon
@AMallal depends on throttling how many times you plan to hit the API
 
@Wes And when is it called? Every time again?
 
Wes
10:44 AM
you can cache the result. i doubt boxing/unboxing all the time is any faster
 
@kel
@kelunik Thanks for your valuable information
 
@Wes In an LRU cache or where?
 
@JayIsTooCommon Thankyou for your valuable information
 
Wes
dunno how
 
@kelunik when would yours be called?
 
10:49 AM
@FlorianMargaine At the first point where the type is checked probably and then auto-converted into an instance of EmailAddress.
But in case of autoboxing it might be problematic if there are two types and it's always converting between the two.
 
11:07 AM
why does it have to be a string? wouldn't a EmailAddress class work better in all those cases? (value object)
(i just skipped through the conversation)
 
Is it possible to include a file into another one using autoloader?
 
11:20 AM
@MartinAJ yes - but I strongly recommend you just use composer, and use its autoloading getcomposer.org/doc/01-basic-usage.md
 
@Danack I wonder why did you say "yes". It is not possible based on my researches.
 
> I strongly recommend you just use composer, and use its autoloading getcomposer.org/doc/01-basic-usage.md
 
@DaveRandom I know you're rather busy (at least it seems so), but do you think we could sneak in openssl_get_stream_error or whatever it will be named into PHP 7.2.0?
 
@kelunik I absolutely would love that to happen, there is absolutely no way I am going to have time to do it. But you can ask bukka, he knows exactly what I was talking about and could probably do it faster than me in any case.
 
@DaveRandom I have about two weeks completely free now, so I could probably tackle it.
I'd also like to tackle amphp/process + Windows.
 
11:27 AM
@kelunik the issue is less "does the host support IPv6" (because the answer will most likely be yes) and more "does the host have a valid IPv6 address" (the answer is far more likely no). There's no real way to test that (afaik) without just trying to send some traffic to a remote host on IPv6. You could probably query the adapters for the local addr and there is, I assume, an equivalent of 169.254/16 in IPv6, which you could test for I guess
 
@kelunik isn't the RC phase a little late to be adding functions?
 
!!lxr stream_socket_crypto_enable
 
@kelunik Nothing went wrong but I couldn't find a suitable definition
 
@salathe It's small and self-contained. Such features have also been added to patch releases previously. And it's really necessary to allow a clean TLS shutdown for non-blocking sockets.
 
@kelunik sure, that just needs tests, and lots of them. As far as I am concerned it "works" pending any edge case failures that might be brought about by testing.
 
11:28 AM
!!lxr stream_socket_enable_crypto
 
[ /ext/standard/streamsfuncs.c#1497 ] PHP_FUNCTION(stream_socket_enable_crypto)
 
@kelunik Sure, patch release go wild... not for 7.2.0 when we're in RC.
 
@salathe It's something that's preferabliy also backported to all previous releases.
It's just not possible to have a clean TLS shutdown otherwise.
 
@salathe @kelunik agreed RC is too late, but at this point 7.2.1 isn't that far away
 
@kelunik that still doesn't change the fact 7.2.0 is RC now
 
11:29 AM
@DaveRandom If it can land in 7.2.1, it can land in 7.2.0.
 
@DaveRandom then aim for that :)
 
/me holds hand up and steps out of the convo :-P
 
As long as there's an additional RC for 7.2.0, that's just the same state as any patch release.
And the last RC isn't out yet.
PHP's RCs aren't really RCs.
 
Never mind, do what you want. *goes back to lurk mode*
 
@salathe hey, we've also still got to fix hash_hkdf()!
 
11:35 AM
@Danack That's already in 7.1.x, so no. ;-)
 
11:57 AM
@Danack I'm just waiting for him to commit the "fix" without asking anyone. :P
 

« first day (2524 days earlier)      last day (2415 days later) »