X
X

Conclusion

Thank you to all my students who’ve participated in this course and taken the time out to review all the lectures, I always appreciate constructive criticism and positive feedback. There’s a lot to discover and understand with this course and…

PHP7 Depricated features

With the addition of every language there usually is a division with most people on whether some features should be kept for legacy code or removed due to bad habits. I personally think the developers of today love legacy code…

Revamped regular expression function

Sometimes we work with string data to attain more information. For example there are spam filters that need to check whether a comment doesn’t contain certain ‘key phrases’ for advertising or spam. There are also lots of other reasons why…

Random bytes and random int functions

Random is actually a very hard process, human beings may think their random but really we aren’t and computers likewise are not as random. However there are some good algorithms to generate random numbers and strings for encryption or authentication…

Session start options

When you want to start a session we use the session start function which now accepts an associative array as the first parameter. The key is the option you would like to set and the value of the key is…

PHP7 Generator new features

Firstly lets look at return statements which in a generator function must be the last statement within the generator function. So for example… function gen( ){ yield 100; yield 200; yield 300; return 400; } … Now we want to…

Functional call context

The this keyword is very important because it’s based on context. Context is imperative for communicating with others. We’ve all heard ‘look at this’, instantly like a knee jerk reaction we want to find the focus of the conversation. That’s…

Unicode codepoint escape syntax

PHP7 now lets you use UTF-8 character escaping in the hexadecimal format. We have the Unicode format because our web page’s are served all over the world and need to be displayed consistently which is what unicode allows us to…

Primitive type declarations

Types are very important when it comes to data integrity. PHP7 now comes with updated type declaration’s such as string, integer, float and boolean. With these type declarations we can check that our argument’s receive parameters that match the correct…

XAMPP PHP7 setup

Before we can learn the new features of PHP7 we must first install the latest XAMPP program that’ll allow PHP7 to run. XAMPP installs a stack of applications to accurately imitate a server environment on our computer and install the…

Latest Posts