Posts marked with “php”

Editor’s Desk: PHP 7.4 RFCs, Symfony Speaker Workshop, Call for Writers

by · March 18, 2019

0
 

Editor-in-Chief Oscar Merida records a mini-episode. In this first one, he looks at some RFCs submitted for PHP 7.4 and 8.0, and a new tool for detecting memory leaks with PHP Unit.

 

Internal Apparatus: Hash Table Collisions

by · March 4, 2019

0
 

We continue our deep dive into how PHP implements arrays as hash tables. We’ll see how the collision chain works. We’re not ready to dig into the C implementation just yet, so we’ll see how to build and rebuild the hash table using PHP code. This month we’re learning how PHP arrays are stored and […]

 

Education Station: Explicit is Better Than Implicit

by ·

0
 

The argument over strict typing is nothing new in PHP. When the PHP 7.0 release was under development and the idea of scalar type hinting came up, there were developers on all sides with opinions on how it should work. While PHP 7.0 could introduce backward compatibility breaks, introducing strict typing had the potential to […]

 

Internal Apparatus: How PHP Works: Show Me the Code

by · January 7, 2019

0
 

We all use PHP; it’s open source, which means anyone can take a look. However, it’s not as easy as with the various PHP frameworks, because PHP is written in C and makes heavy use of C preprocessor macros. We’ll see it’s relatively readable once we know how and where to look.

 

Testing Strategy With the Help of Static Analysis

by · December 21, 2018

0
 

When developing an application, our aim as software developers is to make sure it does what it ought to do and to keep the number of defects as low as possible. We should also strive to make our lives easier, to counter external circumstances like tight deadlines and ever-changing requirements causing the exact opposite. That’s […]

 

It’s About Time

by ·

1
 

By Colin DeCarlo As applications scale and gain adoption, dates and time become much more of a concern than they once were. Bugs crop up, and developers start learning the woes of time zones and daylight saving time. Why did that reminder get sent a day early? How could that comment have been made at […]

 

It’s About Time

by · December 11, 2018

0
 

As applications scale and gain adoption, dates and time become much more of a concern than they once were. Bugs crop up, and developers start learning the woes of time zones and daylight saving time.

 

The Case for Generics in PHP

by · November 20, 2018

5
 

By Chris Holland In 2016, Ben Scholzen and Rasmus Schultz published their PHP RFC: Generic Types and Functions, aka The Generics RFC. Having worked with generics in other languages, I was very grateful and thrilled to come across this RFC, as I could immediately see the tremendous benefits this would bring to the PHP ecosystem. […]

 

Episode 15 – Generics and php[world]

by ·

0
 

In this episode: generics, conferences, and more. A special live-recording with Eric van Johnson, John Congdon, Chris Holland, and Oscar Merida at php[world].

 

Getting Started With Php? Let’s Start the Right Way!

by · November 2, 2018

0
 

Maybe you’re here because you’re just beginning with PHP, or maybe you worked with PHP some time ago and would like to catch up. Perhaps you’re used to your way of working with PHP and haven’t adopted the newest additions to the language. There are many changes and the language is still improving. Let’s go […]