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)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。