Skip to content
Browse files

Load dateTime.php

git-svn-id: http://svn.php.net/repository/pear/packages/SOAP_Interop/trunk@228123 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent ec86c54 commit 5532582917696bbf68b29114a69ef9ce43262fa1 Jan Schneider committed Jan 26, 2007
Showing with 2 additions and 0 deletions.
  1. +1 −0 interop_Round2Base.php
  2. +1 −0 interop_test_functions.php
View
1 interop_Round2Base.php
@@ -123,6 +123,7 @@ function echoBase64($b_encoded)
function echoDate($timeInstant)
{
+ require_once 'SOAP/Type/dateTime.php';
$dt = new SOAP_Type_dateTime($timeInstant);
if ($dt->toUnixtime() != -1) {
$value = $dt->toSOAP();
View
1 interop_test_functions.php
@@ -35,6 +35,7 @@ function string_compare($e1, $e2)
$e2_type = gettype($e2);
$ok = FALSE;
if ($e1_type == "string") {
+ require_once 'SOAP/Type/dateTime.php';
$dt =& new SOAP_Type_dateTime();
$ok = $dt->compare($e1, $e2) == 0;
}

0 comments on commit 5532582

Please sign in to comment.
Something went wrong with that request. Please try again.