Find Jobs
Hire Freelancers

Convert 165 line static class file into a C+ PHP module for use on XAMPP and Linux

$30-250 USD

已完成
已发布超过 8 年前

$30-250 USD

货到付款
I have a PHP static class that is 165 lines I want converted into a PHP module. I have a timeframe to keep that I need this done by, but for me the sooner the better. The class is self contained, calls no obscure php functions and basically just sorts arrays and compares values through a looping mechanism using simple operators. But dont be fooled by that. Its very technical and complex. It is not for a novice at all, but if you are into challenges this might be the one for you. I know it was a challenge for me writing it, but this is my hobby :-P I just want to make it even faster but this is the only way I see how. It is separated into 8 functions, 2 static vars, and accepts 4 args in, 1 array out. I have a test [login to view URL] file that calls the class, and has access to 30+ input and output test files. The application must: 1) Output the same as the example input tests which you can see for yourself they are as a php class - the test file is designed so that at the end you should be able to replace the call to the static class with your module function call. 2) Must come with some basic install instructions, I have installed some modules before, but I am not a server admin. I have done linux roll outs and my own setups so its not that new to me, but a little basic text file instruction guide would be good. 3) Absolutely must be faster than the original 4) Absolutely must not require any additional modules or external library 5) Absolutely must work on Linux. I could put a branch in my code so that I just use my existing slower class on Windows if that is too complicated, but I would prefer to work with XAMPP also for development process. (I find XAMPP easier for dev since windows user) 6) Absolutely must work on PHP 5.3+ and also PHP 7 which I am in the midst of upgrading to, since XAMPP is still only 5.4 which I use for Dev. 7) Must come with any source incase I need edits later and you go MIA, but would prefer if I need changes later just to come back to someone that knows what they are doing. I can help you with testing it in my environments once you believe its ready A snippet of the code and how complex it is, is here: //SNIPPET 1 $newobject[self::$compare[(($key%2)+1)][1]] = $object[self::$compare[0][1]]; $newobject[self::$compare[0][1]] = $object[self::$compare[(($key%2)+1)][1]]; //END SNIPPET 1 //SNIPPET 2 for($i=0;$i<3;$i++){ $space = array( $compare[0][0]=>$void[$compare[0][0]]+$object[$compare[0][1]], $compare[0][1]=>$void[$compare[0][1]]-$object[$compare[0][1]], $compare[1][1]=>$clone[$compare[1][1]], $compare[2][1]=>$clone[$compare[2][1]]); $clone[$compare[0][1]] = $void[$compare[0][1]]; if($space[$compare[0][1]] && $space[$compare[1][1]] && $space[$compare[2][1]]){ $space[self::$strings[1]] = $space[$compare[0][1]]*$space[$compare[1][1]]*$space[$compare[2][1]]; $spaces[] = array_merge($void,$space); } $compare = self::arrayFirstToLast($compare); } //END SNIPPET 2 Please provide a date of completion, and a price. If the module is 90% faster on the largest tests, which I am hoping for in C, I will give a minimum 10% bonus, and maybe more dependent on the results and time of completion, whether it supports xampp also would be of value for this bonus. This will be at my discretion, but I would prefer to give back to someone who has helped me with my little project because of its importance to me. I cant really say how long it would take to convert, but really this should be less than a days work for an experienced dev in php modules, php code and c code. Thanks everyone!
项目 ID: 9184261

关于此项目

1条提案
远程项目
活跃8 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
A proposal has not yet been provided
$144 USD 在3天之内
4.7 (4条评论)
3.8
3.8

关于客户

AUSTRALIA的国旗
Australia
4.9
7
付款方式已验证
会员自12月 15, 2015起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。