<?php namespace Foo\Bar; function date($format, $timestamp = null) { if ($format == 'Y') { return '2010'; } throw new \Exception("Only Y format is supported"); } echo date('Y');
You have javascript disabled. You will not be able to edit any code.