<?php namespace Upload; class FileFactory { static public function autoload($name) { print '[['. $name .']]'; } } class Image { function __construct() { echo 'testing'; } } spl_autoload_register(__NAMESPACE__ .'\FileFactory::autoload'); // As of PHP 5.3.0 $image = new Image;
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`