BlogFlock

Post on Exakat

Exakat
20 posts last month
Feed
Copied!

I Have a Dream of a PHP PreprocessorI Have a Dream of a PHP Preprocessor

What if PHP could be faster, stricter, and more expressive, without waiting for PHP 9? What if we could preprocess PHP code into something more optimized, more…

setlocale() and Its Six Personalities

Exakat
20 posts last month
Feed
Copied!
setlocale() and Its Six Personalities
setlocale() and Its Six Personalities

setlocale() and Its Six Personalities

What does setlocale() actually do? It changes the date format, right? It’s a fair guess, and it’s wrong in an interesting way: setlocale() doesn’t touch…

The Clock That Cracks Passwords

Exakat
20 posts last month
Feed
Copied!

The Clock That Cracks PasswordsThe Clock That Cracks Passwords

To understand what is the clock that cracks passwords, let’s start with a quizz. Which security flaw does the following PHP login check contains?

<?php if ($userPassword == $storedSecret) {…

HTML Hyphenation Hints

1 post last month
Feed
Copied!

I recently was troubleshooting how to force the browser to hyphenate a PHP class name, and discovered something new.

The HTML entity &shy; is a "soft hyphen"; it won't display unless the browser decides to introduce a line wrap at that point.

It's shy like that.

PHP
Editing List

All things PHP

Created by
exakat

Blogs