Nice, thanks.
Kurt Anderson
Application Developer
Highsmith Inc
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Scott Campbell
Sent: Thursday, September 20, 2007 9:36 AM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] PHP and Service Program procedures
Kurt,
This is a bug in the Toolkit_Classes.php. If you comment out the line:
$this->__set($var_description['name'], "var_$i");
From the foreach loop in the call function in the i5_Program class your
call
should work.
There are other bugs in this file also. All of the I5_TYPE_XXXXX
functions (except CHAR) are missing the "this" when they set the
new_element. For example
$new_element['type'] = I5_TYPE_PACKED;
Should be
$this->new_element['type'] = I5_TYPE_PACKED;
I have opened tickets on both of these with Zend. The var_1 problem
today and the missing "this" several months ago. I'm not sure when the
fixes will be included in a release.
Hope this helps.
Scott
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To
post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.