In Laravel, We can encrypt a string using encryptString method in the Crypt facade. All the characters in the string are encrypted using OpenSSL and AES-256-CBC Cipher. The encrypted string is signed with MAC ( Message Authentication Code )
When we have multiple versions of php installed in ubuntu operating system, we can use "update alternatives" command to switch between the versions.
So FQL depreciated after August 7,2016. What are you going to do if you have used FQL to get facebook like / share count in your webpage. This trick will get you those numbers without using any app. This is the best alternative to get facebook like / share count after fql depreciation.
In PHP, Some functions are marked as binary safe functions. It means that the functions works correctly even when you pass binary data. Ex: A string containing non-ascii bytes, null bytes etc..
Google weblight is a google service, which shows the compressed view of the webpages listed in the search results when a slow network is detected. It removes websites default styles and js files, So user can view the webpage much quicker. But it can be disabled by setting cache control header to no transform.
Sessions are simple arrays used to store some information and the values can be used throught the project / website