cvs: pear /SOAP Base.php

From: Date: Thu, 25 Jan 2007 23:36:06 +0000
Subject: cvs: pear /SOAP Base.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-44388@lists.php.net to get a copy of this message
yunosh Thu Jan 25 23:36:06 2007 UTC Modified files: /pear/SOAP Base.php Log: We require 4.3 now, and dying in bad anyway. http://cvs.php.net/viewvc.cgi/pear/SOAP/Base.php?r1=1.77&r2=1.78&diff_format=u Index: pear/SOAP/Base.php diff -u pear/SOAP/Base.php:1.77 pear/SOAP/Base.php:1.78 --- pear/SOAP/Base.php:1.77 Thu Jan 25 23:34:08 2007 +++ pear/SOAP/Base.php Thu Jan 25 23:36:06 2007 @@ -27,17 +27,6 @@ define('MAIL_MIMEPART_CRLF', "\r\n"); require_once 'PEAR.php'; -if (!function_exists('version_compare') || - version_compare(phpversion(), '4.1', '<')) { - die("requires PHP 4.1 or higher\n"); -} -if (version_compare(phpversion(), '4.1', '>=') && - version_compare(phpversion(), '4.2', '<')) { - define('FLOAT', 'double'); -} else { - define('FLOAT', 'float'); -} - if (!defined('INF')) { define('INF', 1.8e307); } @@ -175,9 +164,9 @@ 'http://www.w3.org/2001/XMLSchema' => array( 'string' => 'string', 'boolean' => 'boolean', - 'float' => FLOAT, - 'double' => FLOAT, - 'decimal' => FLOAT, + 'float' => 'float', + 'double' => 'float', + 'decimal' => 'float', 'duration' => 'integer', 'dateTime' => 'string', 'time' => 'string', @@ -225,8 +214,8 @@ 'int' => 'integer', 'boolean' => 'boolean', 'string' => 'string', - 'double' => FLOAT, - 'float' => FLOAT, + 'double' => 'float', + 'float' => 'float', 'dateTime' => 'string', 'timeInstant' => 'string', 'base64Binary' => 'string',

« previous php.pear.cvs (#44388) next »