This month PHP released the latest update PHP7.2.0. While PHP 7.2 is an improvement, it is not groundbreaking as the jump from PHP5.6 to PHP7.0.... March 2018
glob($string); Return an array of pathnames matching a specific pattern. // Find all CSV files in the /home/var/imports/ directory glob("/home/var/imports/hello-*.csv"); /home/var/imports/hello-world.csv – Returned /home/var/imports/hell-world.csv –... June 2017
header($string); Used to send a raw HTTP header, often used for page redirects. Must be called before any other output is sent. // Redirect the... May 2017
str_replace($search,$replace,$subject) All instances of $search are replaced with $replace in $subject. // Will print to screen: "Why is the sky blue?". echo str_replace("red","blue","Why is the... May 2017
Block access based on Client IP The opposite requires a simple exclamation mark before in_array() to change the script so that only those listed in... June 2015