kvz.io

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

  • Archives
  • About

recursion

A collection of 3 posts

September 5, 2008

PHP Recursive str_replace: replaceTree

Working with trees When working with tree data structures you often need to craft them in different ways. PHP offers a lot of functions to change the shape of arrays, but often th...

array hierarchy parsing php programming recursion tree

September 5, 2008

PHP Recursive ksort: ksortTree

Working With Trees When working with tree data structures you often need to craft them in different ways. PHP offers a lot of functions to change the shape of arrays, but often th...

array hierarchy php programming recursion tree

October 3, 2007

Convert Anything to Tree Structures in PHP

I recently faced a programming challenge that almost broke my brain. I needed to create a function that could explode any single-dimensional array into a full blown tree structure,...

array delimiter hierarchy php programming recursion tree

Twitter GitHub medium Instagram Linkedin ProductHunt

kvz.io © 2007-2025.

Back to top

Explore Site

  • Archives
  • About

About kvz.io

A blog on building: software, infra, and Transloadit

Recent Articles

  • October 24, 2024
    Cursor: An AI Dev Starter Guide
    Cursor: An AI Dev Starter Guide
  • July 26, 2022
    Setting up macOS for JS development
    Setting up macOS for JS development

Tags

php (33) programming (26) ubuntu (21) performance (15) linux (15) mysql (13) bash (13) ide (12) nodejs (11) pear (10) javascript (10) apache (10) database (9) security (8) ssh (7) crontab (7) cakephp (7) io (6) transloadit (5) pecl (5) github (5) git (5) eclipse (5) virtualbox (4) vim (4) squid (4) osx (4) htaccess (4) cs (4) ci (4) campfire (4) blog (4) virtualization (3) vhost (3) tree (3) synology (3) svn (3) sql (3) sabnzbd (3) ruby (3) recursion (3) nginx (3) nas (3) memcache (3) innodb (3) hierarchy (3) caching (3) benchmark (3) array (3) windows (2) versioncontrol (2) vagrant (2) uploading (2) typescript (2) transactions (2) tmpfs (2) testing (2) staticsites (2) solo (2) sid (2) shell (2) reliability (2) regex (2) redis (2) ram (2) python (2) npm (2) network (2) netbeans (2) memcached (2) macos (2) imagick (2) imagemagick (2) html (2) homebrew (2) golang (2) go (2) font (2) dropbox (2) devshm (2) daemon (2) conference (2) coffeescript (2) bulk (2) backup (2) apple (2) api (2) youtube (1) xen (1) wtf (1) writing (1) wireshark (1) whitespace (1) wget (1) webpack (1) webdev (1) vmware (1) video (1) vbscript (1) utf8 (1) url (1) upstart (1) umask (1) tus (1) tshark (1) travis (1) track (1) trac (1) tools (1) tooling (1) tmux (1) tinyurl (1) timkay (1) timetracking (1) timelog (1) tiff (1) think (1) thin (1) terminal (1) tail (1) tabs (1) system_daemon (1) syslog (1) sysadmin (1) synchronization (1) stunnel (1) streams (1) startup (1) ssl (1) sqlite (1) spof (1) spelling (1) spaces (1) soundex (1) server (1) seo (1) sddl (1) screen (1) sata (1) safemode (1) rvm (1) rsyslogd (1) rsync (1) rss (1) router (1) ror (1) review (1) rest (1) replication (1) redundancy (1) rbenv (1) raspberrypi (1) questions (1) pxe (1) productivity (1) postscript (1) pico (1) phpjs (1) php53 (1) phd (1) pdf (1) password (1) parsing (1) papertrail (1) operators (1) openssl (1) open_basedir (1) octopress (1) notes (1) netcat (1) nameserver (1) mvc (1) multibyte (1) mount (1) monospaced (1) mongrel (1) mod_rewrite (1) mod_expires (1) mobile (1) migration (1) mc (1) markdown (1) logging (1) libssh2 (1) language (1) lamp (1) kvzlib (1) kvzhtml (1) kernel (1) karmic (1) jenkins (1) jekyll (1) java (1) iso (1) iptables (1) indentation (1) incolsolata (1) hubot (1) http (1) hours (1) heartbleed (1) haproxy (1) grub (1) grammar (1) google (1) gnome (1) ghostscript (1) generators (1) gems (1) fxos (1) flv (1) flush (1) flowcontrol (1) flash (1) firewall (1) firebug (1) feedburner (1) event (1) english (1) encoding (1) editor (1) dry (1) dpkg (1) dpi (1) dpc10 (1) dpc (1) documentation (1) dns (1) display (1) different (1) desktop (1) deploy (1) delimiter (1) debugging (1) dd (1) cvs (1) cursor (1) cronlock (1) config (1) compiz (1) comments (1) coding style (1) cli (1) circuitbreaker (1) chart (1) cat (1) casperjs (1) capistrano (1) buildtools (1) browsersync (1) boot (1) berlin (1) backpressure (1) aws (1) automation (1) arduino (1) aptfile (1) apt (1) apps (1) analyze (1) amazon (1) ai (1)