 Yeah, so Hi guys, so I'm possible I do a bit of php documentation For some time. I've not done so much documentation for some months now But I I was involved a bit much on that seven PHP 7 Docs and stuff So so how many of you are in php 7 like even like looked at by php 7 or already may be migrated to php 7 That's awesome. That's awesome So I'm coming I'm going to talk a bit about what's coming on php 7 point one. This is probably like so php 7 point one is counting beta version one And after that comes the release candidates So that has not been that much of a major Changes, I think there's lots of cleanup and there's like nice to have stuff that's coming up So if you if you on if you haven't looked at php 7, then this might be a bit weird Yeah, and some of the stuff that I'm going to show you should you probably would be thinking that if those should Those stuff should already be bad. Like how are these things is it? Okay? so So so this so a brief in the brief intro how like the stuff getting super history basically What happens is somebody you any of any one of you can have an idea on something that PHP needs to do So you write up something call an RFC Which is like Rickfest for comments So after that Yeah, we'll request a comment. I mean if you will have a like internal Discussion for like two weeks and then it goes on to voting and voting like the contributors there is this Everybody with like php.net accounts Like votes on what they think is correct or not or like should that be or should do that So there might be like some so then when that gets like if it if it if it's not selected Then it's voted out then it will Go into kind of inactive states and then like maybe like next version or like when the version is right It will come in Like stuff like I think scalar typing and like return type painting those kind of stuff are like Those are those ideas have been there for like that 2014 or something that those things have been there for like a long time and nobody actually have They were voted out for some reason Okay, so so for PHP 7.1. These are the these are the things that came in and like so I So now you can make Yeah, now now you can make areas like this basically previous you had to do array and then put the thing Put the brackets and then the whole thing. I like you probably would probably like why isn't even the back So finally it's that Yeah So I think you guys kind of get the idea of what's what's it's doing. I don't have to explain it much more So List so previously if you're like unpacking something Sorry for this Okay, so now lists So yeah So previously list could you just put a variable inside of them? And then you could explode something but now you can like put you can also use but you call the Key areas Areas that has keys to explode and then like unpack the whole thing and then get your variables that you need Closures, so not about types Yeah, so so now you can specify nulls in the return. It's basically this that's that's all that is Yeah, so if you have like the object orientation the Every class that like in extends needs to like make the Needs to be compatible with the return or Missed to be stricter So if you like if you can see class B kind of is more strict than class A because it doesn't Alumnals, so it needs to be either alumnus or like having us And and then void so now you can like put void and then return nothing or just return or Non-return You cannot return null you cannot make null nullable white That will be weird So yeah Okay Invalid so so this so this invalid string is Yeah, P Previously, you could just like do arithmetic on like any string and just do like if it works It doesn't work sometimes, but it's like most of the time It's like tries to work like as much as they can now Like now if it's like if it's not and like the string is actually not and what you called A number but then if you like throw fatal errors then throw errors Yeah, I to rate a boost so so this is another type that you can This is anything. That's that's that has that has implemented Traversable interface in PHP So if you have anything that that has that then you can make it a iterable. I like a resource like this everything I think I might have something Yeah, so this is a PHP iterable Yeah, so I think you guys get the idea Oh You can put a resource Parish was that a PHP 5.6 or something I could hint it Why class constant disability modifiers so in previous I think all constants in classes were public Now we can make it private or something like these things Why isn't it even why isn't it already bad? So yeah, so multi-catch now you can Have to catch Yeah Try catch us and there's like somebody was actually like somebody has an idea This is this is not implemented. I know our FC for this. I just saw it in the podcast I was I think Phil Sturges. I think he's coming for Phil Sturges. He's coming Yeah So I think He might have been supposed to come for the PHP conference He had this idea to have like something keyword called retry to go through the try catch again or something So that's not that that's like that's not that Yeah, so now So what this means is you cannot I think it's much more Yeah Yeah, so now currently you cannot do something like this like dynamically call Dynamic functions like say say any function that like messages meet mess mess with the symbol paper You cannot like Dynamically call them like this. You need to go through like proper channels Like yeah Because because most of the time days they seem to mess up the whole simple table and like variables and the scope of the variables gets messed up sometimes. So I think that's the yeah, that was the reason that was Given on the RFC and for optimization issues. It's it's good to eat. Yeah Yeah, so negative string offsets Let's see. I did not so yeah now now you can like reference stuff Again, why isn't it there already and and then so and all these functions also now supports Negative offsets and no negative values are like some already did some all didn't Like the second the needles and the he's that kind of things So, yeah, that's let's see what else is interesting If you're doing like process controls up, there's a new Function that you can I'm not sure how many of you know about ticks in PHP Second, it's like the weirdest thing that has been there We had done like I also came to know about it when like strict type and it came and it started using declare Like declare was only previous years for tick because you could take like number of times a function would be called Yeah, it was something Yeah Yeah, I think that's it Yeah, that's that's pretty much it So more info you should look at What do you call a changelogs? on on PHP And then So your beta out The the release manager for this would be coming for the PHP conference and you can like ask him all the stuff that you need to From here and then one of the one of the recent recent RSCs that was not included was a union types I think it's like it's like numbers which can have integers floats and doubles like integers when floats It's like a union type Yeah, so so yeah, that's it If you can just install it and then run it and just see whether your app works or not He broke something So if it if it's broken just just put a bug on bugs of PHP dot-net Like somebody would get and fix it hopefully Nobody breaks the whole thing. That's that's all any questions on this That's good Yeah, we've come to the end of the meetup Well, very much earlier earlier than expected. Yeah, so we are always a lookout for speakers