PHP Numeric Literal Separator
Updated 14th December 2023
First introduced in PHP 7.4, the Numeric Literal Separator in PHP makes large integers within your code easy to read. Naturally, we find it easier to read number which are grouped, for example, 1,650,000. Using the numeric literal separator in PHP Since PHP 7.4, we can now use numbers like this: Adding an underscore between
PHP Variable Variables
Updated 1st June 2022
In PHP, it is sometimes necessary to have variables that have variable names. Traditionally, a variable is given a name and a value is given to the variable like so: $foo = 'bar'; A Variable Variable, or Double Dollar Variable, gets its name from the value of another variable like so: $foo = 'bar'; $$foo
Can you sneeze while asleep?
Updated 4th August 2022
Have you ever wondered if you can sneeze while asleep? It’s definitely not the kind of question most people ask themselves when they wake up in the morning. Usually, you might sneeze as a result of your body ejecting an allergen or as a response to a virus. Neither allergens nor viruses care if you’re
0 Comment