diff --git a/tests/php/wsdl2php.php b/tests/php/wsdl2php.php
index <HASH>..<HASH> 100644
--- a/tests/php/wsdl2php.php
+++ b/tests/php/wsdl2php.php
@@ -172,7 +172,7 @@ foreach($operations as $operation) {
 
 $types = $client->__getTypes();
 
-$primitive_types = array('string', 'int', 'long', 'float', 'boolean', 'dateTime', 'double', 'short', 'UNKNOWN', 'base64Binary', 'decimal', 'ArrayOfInt', 'ArrayOfFloat', 'ArrayOfString', 'decimal', 'hexBinary'); // TODO: dateTime is special, maybe use PEAR::Date or similar
+$primitive_types = array('string', 'int', 'long', 'float', 'boolean', 'date', 'dateTime', 'double', 'short', 'UNKNOWN', 'base64Binary', 'decimal', 'ArrayOfInt', 'ArrayOfFloat', 'ArrayOfString', 'decimal', 'hexBinary'); // TODO: dateTime is special, maybe use PEAR::Date or similar
 $service['types'] = array();
 foreach($types as $type) {
   $parts = explode("\n", $type);
@@ -447,4 +447,4 @@ function generatePHPSymbol($s) {
 }
 
 
-?>
\ No newline at end of file
+?>
added date type to wsdl2php primitive types