kvz.io

A blog on building: software, infra, and a company

  • Archives
  • About

php

A collection of 33 posts

December 21, 2013

It's Almost 2014 and We Are Still Committing Broken Code

Dispite testcases, syntax errors still find their way into our commits.

Bash Ci Git Go Golang Javascript Jenkins Php Python Ruby Travis

April 23, 2013

Loosely Typed Code Deserves Triple Equality

In loosely typed languages such as JavaScript or PHP, using == to compare values is bad practice because it doesn't account for type, hence false == 0 == '' == null == undefined, etc. And you may accidentally match more...

Coding style Javascript Operators Php Regex

October 9, 2012

Reverse a Multibyte String in PHP

PHP's strrev is not safe to use on utf-8 strings because it reverses a string one byte at a time. So if a character consists of multiple bytes it cannot be preserved as an entity in the reversed result.

Multibyte Performance Php Utf8

April 29, 2011

Revisiting Faster PHP Sessions

"Simplicity is prerequisite for reliability."

Devshm Io Linux Memcache Pecl Performance Php Ram Tmpfs

March 31, 2011

Revisiting Spaces and Tabs

This article in 50 words: I used to prefer spaces vs tabs, now I don't care so much, think it's more important that you can easily switch on a per-project basis. Have some thoughts on how conventions should be established,...

Bash Cakephp Cs Ide Indentation Javascript Nodejs Php Spaces Tabs Vim Whitespace

Page 1 of 7 Older Posts

Twitter GitHub medium Instagram Linkedin ProductHunt

kvz.io © 2007-2023.

Back to top

Explore Site

  • Archives
  • About

About kvz.io

A blog on building: software, infra, and Transloadit

Recent Articles

  • July 26, 2022
    Setting up macOS for JS development
    Setting up macOS for JS development
  • November 25, 2021
    Steps to Convert JavaScript to TypeScript
    Steps to Convert JavaScript to TypeScript
  • December 11, 2019
    And Now for Something Completely Different (NL)
    And Now for Something Completely Different (NL)

Tags

Amazon Analyze Apache Api Apple Apps Apt Aptfile Arduino Array Automation Aws Backpressure Backup Bash Benchmark Berlin Blog Boot Browsersync Buildtools Bulk Caching Cakephp Campfire Capistrano Casperjs Cat Chart Ci Circuitbreaker Cli Coding style Coffeescript Comments Compiz Conference Config Cronlock Crontab Cs Cvs Daemon Database Dd Debugging Delimiter Deploy Desktop Devshm Different Display Dns Documentation Dpc Dpc10 Dpi Dpkg Dropbox Dry Eclipse Editor Encoding English Event Feedburner Firebug Firewall Flash Flowcontrol Flush Flv Font Fxos Gems Generators Ghostscript Git Github Gnome Go Golang Google Grammar Grub Haproxy Heartbleed Hierarchy Homebrew Hours Htaccess Html Http Hubot Ide Imagemagick Imagick Incolsolata Indentation Innodb Io Iptables Iso Java Javascript Jekyll Jenkins Karmic Kernel Kvzhtml Kvzlib Lamp Language Libssh2 Linux Logging Macos Markdown Mc Memcache Memcached Migration Mobile Mod_expires Mod_rewrite Mongrel Monospaced Mount Multibyte Mvc Mysql Nameserver Nas Netbeans Netcat Network Nginx Nodejs Notes Npm Octopress Open_basedir Openssl Operators Osx Papertrail Parsing Password Pdf Pear Pecl Performance Phd Php Php53 Phpjs Pico Postscript Productivity Programming Pxe Python Questions Ram Raspberrypi Rbenv Recursion Redis Redundancy Regex Reliability Replication Rest Review Ror Router Rss Rsync Rsyslogd Ruby Rvm Sabnzbd Safemode Sata Screen Sddl Security Seo Server Shell Sid Solo Soundex Spaces Spelling Spof Sql Sqlite Squid Ssh Ssl Startup Staticsites Streams Stunnel Svn Synchronization Synology Sysadmin Syslog System_daemon Tabs Tail Terminal Testing Thin Think Tiff Timelog Timetracking Timkay Tinyurl Tmpfs Tmux Tooling Tools Trac Track Transactions Transloadit Travis Tree Tshark Tus Typescript Ubuntu Umask Uploading Upstart Url Utf8 Vagrant Vbscript Versioncontrol Vhost Video Vim Virtualbox Virtualization Vmware Webdev Webpack Wget Whitespace Windows Wireshark Writing Wtf Xen Youtube