A PHP 7 logo; collaboration between me and Vincent Pontier.
A journey begins into the land of responsibility in the story of my involvement with authoring the PHP manual, after volunteering for the editor role following Philip Olson's stepping down.
PHP 5.5.11 introduced a new method to the useful
SplFileObject
class, in order to make reading the whole file easier.
The task is to "flatten" nested arrays into a single series containing all of the values.
Overview of the wildcard patterns that can be used with
glob()
.
The
DOMXPath::registerPHPFunctions()
method is available as of PHP 5.3.0 and allows the use of PHP functions (and static methods) within XPath queries to complement the normal set of XPath functions.
Introducing the
InfiniteIterator which is part of the
Standard PHP Library (SPL).
A brief introduction to anonymous function literals and closures.
How to match a specific CSS class name in an XPath query.
What to do when
strtotime()
misbehaves.
Write The F***ing Manual!
Creating a function to find the most common value(s) in an array.
Thirty-six little bytes, and nothing much to see. My attempt at creating the tiniest transparent GIF image possible.
Using cURL to get an idea of the download speed of your web server.
Everyone loves a furry blue elephpant.
Using
imagecreatefromstring()
to create a GD image.
There are numerous ways to get a file extension in PHP. Learn how to do it right, by using the
pathinfo()
function.
Having fun with a quirkier side of PHP syntax.
If you
return $this
then you can chain method calls together.
Using numbered placeholders to reuse argument values.
Wrap the variable in parenthesis and magic...