Re: PHP Patch
Richard Klingler <[email protected]>
| Newsgroups | gmane.linux.hardware.gpib.general |
|---|---|
| Message-ID | <CAD-C=v3YHvAOb4A63iS+BGg-XV0VUH6L-iqjY3FXJW1g6zCukw@mail.gmail.com> |
Hello Vince Got it working now under php7 with the help of Sara from php.net (o; Doing some more testing now.... cheers richard 2018-03-11 17:28 GMT+01:00 Vince Vielhaber <[email protected]>: > Thanks! I'll dig into it either tonite or tomorrow. Let me know if you > find anything and I'll do the same. > > Vince. > > > > On 03/11/2018 11:40 AM, Richard Klingler wrote: > >> Hello Vince >> >> The ZVAL_STRING macros have changed in php7 as the last copy value 0 or >> 1 is obsolete... >> >> So in "ibrd" it would be just a: >> >> ZVAL_STRINGL(&z, p, ibcnt); >> >> Yes, you need to do a ZVAL_STRINGL instead of just ZVAL_STRING to be >> binary compatible for example for screen dumps from DSOs. >> >> >> Though have still to figure out why it doesn't return any string to the >> calling php function... >> >> >> cheers >> richard >> >> >> 2018-03-11 16:30 GMT+01:00 Vince Vielhaber <[email protected] >> <mailto:[email protected]>>: >> >> Where did you make the change? I still don't have php7 working >> here. When I tried it, apache wouldn't start. I haven't tried it in >> quite a while tho. >> >> Thanks! >> Vince. >> >> >> >> On 03/11/2018 04:55 AM, Richard Klingler wrote: >> >> Hello Vince >> >> Actually it is not working on php7.0 on Debian 9...segmentation >> fault... >> Though during compilation it complains about passing 2 instead of >> 1 >> parameters..so I just removed the second one (o; >> >> >> cheers >> richard >> >> >> 2017-08-19 1:01 GMT+02:00 Vince Vielhaber <[email protected] >> <mailto:[email protected]> >> <mailto:[email protected] <mailto:[email protected]>>>: >> >> >> Patch for PHP 5.6.x >> >> Not yet tested with PHP 7. >> >> Hope I created it right... >> >> Vince. >> -- >> Michigan VHF Corp. http://www.nobucks.net/ >> http://www.CDupe.com/ >> http://www.metalworkingfun.com >> >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's >> most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Linux-gpib-general mailing list >> [email protected] >> <mailto:[email protected]> >> <mailto:[email protected] >> <mailto:[email protected]>> >> >> https://lists.sourceforge.net/lists/listinfo/linux-gpib-general >> <https://lists.sourceforge.net/lists/listinfo/linux-gpib-general> >> >> <https://lists.sourceforge.net/lists/listinfo/linux-gpib-general >> <https://lists.sourceforge.net/lists/listinfo/linux-gpib-general >> >> >> >> >> >> -- >> Michigan VHF Corp. http://www.nobucks.net/ >> http://www.CDupe.com/ >> http://www.metalworkingfun.com >> >> >> > -- > Michigan VHF Corp. http://www.nobucks.net/ http://www.CDupe.com/ > http://www.metalworkingfun.com > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linux-gpib-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-gpib-general