title: PHP Namespace 5.3 and WordPress Widget
body: <p>I am using namespaces.</p>
  
  <p>I try to create a WordPress widget (http://codex.wordpress.org/Widgets_API)</p>
  
  <p>With namespaces the following gives an error because the arguments can not be passed (and without namespaces it obviously works like usual)</p>
  
  <pre><code> namespace a\b\c;
   class whatever extends \WP_Widget {
     function whatever() {
       parent::WP_Widget('name1', 'name2');
     }
   // .. other functions left out
   }
   add_action('widgets_init',
   create_function('', 'return register_widget("a\b\c\whatever");'));
  </code></pre>
  
  <p>uhm... what is the correct syntax for 'parent::WP_Widget' using namespaces?</p>
  
  <p><em>(the COMPLETE error message is:</em></p>
  
  <pre><code>Warning: Missing argument 2 for WP_Widget::__construct(), called in 
  C:\xampp\htdocs\wp2\wp-includes\widgets.php on line 324 and defined in 
  C:\xampp\htdocs\wp2\wp-includes\widgets.php on line 93
  </code></pre>
  
  <p><em>)</em></p>
  
  <p><em>And the debugger shows nothing has been passed:</em></p>
  
  <pre><code>Variables in local scope (#14)
  $control_options = Undefined
  $id_base = boolean false 
  $name = Undefined
  $widget_options =  Undefined
  </code></pre>
  
  <p><em>(only the $name is required)</em></p>