Distinguish PHP stream_select Timeouts from Readable Streams
Interpret zero, false and positive stream_select results correctly and keep polling loops from spinning.
The easy way to know
Interpret zero, false and positive stream_select results correctly and keep polling loops from spinning.
Bind a gettext domain to UTF-8 explicitly and interpret false correctly when querying the current codeset.
Generate a derived CSV column before CSVW conversion to produce an RDF literal from two source columns.
Update a PHP error callback to accept the four arguments PHP 8 supplies, and restore the original handler when the operation ends.
Replace curly braces with square brackets for string and array offsets in PHP 8, including legacy code that reads hexadecimal color values.
Use lstat() to inspect a symbolic link and stat() to inspect the target. Here is how to read sizes and diagnose a broken link.
Reject non-image or oversized BLOB values before passing database data to imagecreatefromstring in PHP GD.
Diagnose PHP startup undefined symbol errors by matching the extension build to the exact PHP API, thread mode and architecture.
Load module scripts independently in a parent page and an iframe, because each frame is a separate document with its own scope.
Confirm SQL Server encryption with a supported DMV, then use the actual TLS handshake to distinguish TLS 1.3 from TLS 1.2.