Skip to content

Instantly share code, notes, and snippets.

View grisha87's full-sized avatar

Grzegorz Godlewski grisha87

View GitHub Profile
@grisha87
grisha87 / purge.php
Last active July 27, 2022 12:16
PHP.Kryptik.AB removal script
<?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 June 27, 2012 22:10 — forked from jwage/SplClassLoader.php
Returning $this on setters and some formatting fixes
<?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.