Skip to content

Instantly share code, notes, and snippets.

@thekid
thekid / xp-framework-issue15.diff
Created May 22, 2011 12:07
XP Framework: Patch for Issue #15
diff --git a/core/src/main/php/io/FileNotFoundException.class.php b/core/src/main/php/io/FileNotFoundException.class.php
index aa9b872..6f88e6b 100644
--- a/core/src/main/php/io/FileNotFoundException.class.php
+++ b/core/src/main/php/io/FileNotFoundException.class.php
@@ -10,9 +10,17 @@
* Indicates the file could not be found
*
* @see xp://io.IOException
- * @purpose Exception
*/
anonymous
anonymous / Measure.class.php
Created February 3, 2013 12:01
Measure performance of looking up a class in a given package / class loader association.
<?php
class Measure extends Object {
public static function main($args) {
$fixtures= [
'strncmp' => [
'provided' => [
'xp.compiler.spi' => 'FileSystemCL<compiler/src/main>',
'xp.compiler' => 'FileSystemCL<compiler/src/main>',
'net.xp_lang.tests' => 'FileSystemCL<compiler/src/test>'
],