This command will work on Linux and MacOS. Here we’re running it on our downloads folder to get a summary of every type of file
From the root of your current project run this command. That’s it!
Looping through all of a PHP objects properties is just as easy as an array. Output:
The PHP json_decode function will return a strict null if the string passed into it is invalid json or it can’t parse it successfully. The
In a single statement you can copy the structure and data from one table in MySQL and populate the results of a query into the
The proper way to use emojis on you’re site is to use the HTML unicode characters. Just copy and paste them into your html. You’ll
This PHP function will delete all valid cookies for a domain. We’re also sanitizing the cookie variable names from invalid characters.
Unlike SQL Server, String concatenation works using a function. It’s a simple function that you pass comma separated values into in the order you want
Using the PHP filter_var function we can test email addresses for valid format and only unicode characters. Example usage below.
In this case we want to get the average of values but we also want to ignore certain values, say if when the deviceType column