Skip to content

Instantly share code, notes, and snippets.

Avatar

Grzegorz Godlewski grisha87

  • Poland
View GitHub Profile
@grisha87
grisha87 / purge.php
Last active Feb 5, 2021
PHP.Kryptik.AB removal script
View purge.php
<?php
/**
* PHP.Kryptik.AB Cleanup script
*
* Usage: place the script in same directory that contains files / directories
* to be scanned. Then run `php [script_name].php` and wait a bit
*
* @link http://blog.twelvecode.com
* @author Grzegorz Godlewski <grisha87@gmail.com>
@grisha87
grisha87 / SplClassLoader.php
Created Jun 27, 2012 — forked from jwage/SplClassLoader.php
Returning $this on setters and some formatting fixes
View SplClassLoader.php
<?php
/**
* SplClassLoader implementation that implements the technical interoperability
* standards for PHP 5.3 namespaces and class names.
*
* http://groups.google.com/group/php-standards/web/final-proposal
*
* // Example which loads classes for the Doctrine Common package in the
* // Doctrine\Common namespace.