PHP Code Snippets

  1. php/ php-code-snippets/

    PHP slugify

    Simple snippet for slug creation, useful for URL-s. Based on this gist.

  2. php/ php-code-snippets/

    PHP natsort() multidimensional array

    By default, PHP natsort() function does not work with multidimensional arrays.