search for: var_export

Displaying 5 results from an estimated 5 matches for "var_export".

2017 Apr 03
2
PHP7 bindings released
Hi, I didn't notice php7 bindings were included since 1.4.2. That's good. But I have some problems with these, I compiled xapian-bindings 1.4.3 in a debian 9 container, but had no luck with it: php -r 'require "/usr/share/php/xapian.php";var_export(Xapian::version_string());' '1.4.3'Segmentation fault (core dumped) Regards, Pascal Bonne journée Pascal Masschelier - 06 84 59 38 02 / 01 39 15 90 48 - skype: pascal.masschelier On Sat, Apr 1, 2017 at 12:50 AM, Olly Betts <olly at survex.com> wrote: > On Fri, Mar 31, 2017...
2012 Jan 04
2
PHP 5 bug?
...sed prior to the bug fix. What are the chances that this fixed bug can be reported/fixed upstream at the prominent North American Linux Vendor? Here's sample code that demonstrates the problem: function CheckBug52534(){ $check = array(1 => 'a', -1 => 'b'); $str = var_export($check, true); $str = "\$a=$str;"; eval($str); if (!isset($a[-1])) return true; } echo (Checkbug52534()) ? "has it" : 'not found'; -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
2017 Mar 31
2
PHP7 bindings released
Hi, I just pushed on github my code for php7 bindings for xapian 1.4 They are based on the excellent PHP-CPP project. Bindings are not complete for now but may be good enough if you doesn't need special weighting nor geo features. You can find them here. https://github.com/pa-m/php7-xapian feel free to use it and propose merge-requests. I have recent node-js binding in my kitchen too,
2017 Apr 03
0
PHP7 bindings released
...39;s good. Perhaps I should have made more of a fanfare about them getting added. > But I have some problems with these, > > I compiled xapian-bindings 1.4.3 in a debian 9 container, but had no luck > with it: > > php -r 'require > "/usr/share/php/xapian.php";var_export(Xapian::version_string());' > '1.4.3'Segmentation fault (core dumped) That's sounds like a known issue with module unload which is already fixed in git and will be solved by the upcoming 1.4.4 release. It's easy to patch the generated code as a workaround - only one line ne...
2017 Apr 03
1
PHP7 bindings released
...e more of a fanfare about them getting added. > > > But I have some problems with these, > > > > I compiled xapian-bindings 1.4.3 in a debian 9 container, but had no luck > > with it: > > > > php -r 'require > > "/usr/share/php/xapian.php";var_export(Xapian::version_string());' > > '1.4.3'Segmentation fault (core dumped) > > That's sounds like a known issue with module unload which is already fixed > in git and will be solved by the upcoming 1.4.4 release. It's easy to > patch > the generated code as a...