Fermé

Replace Deprecated PHP function in only one php file

Hi,

I have a simple task, I have a .php file that was working fine under php 5.4 but isn't anymore now with our current 5.6 version.

The function that is deprecated is preg_replace(), and we have to replace it with preg_replace_callback function.

This is the error I get :

PHP Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in [login to view URL]

That's your only task, I send you the php file, and you make the modifications.

Compétences : PHP

en voir plus : php change flat file, php function location, php ajax multiple file uploads, php building text file editor, php date stamp file, php load xml file, php script split file, php ajax free file upload script, php parse xml file, function conver file csv html php, load excel file database php function, onchange add file input function php, php function upload file command line, php function mysql_db_query deprecated

Concernant l'employeur :
( 2 commentaires ) Ljubjana, Slovenia

Nº du projet : #23442884

37 freelance font une offre moyenne de $21 pour ce travail

GetReal

Hi, Let me do it for you, PHP is my specialty, ready to start and look forward to hear from you and work with you..thanks!

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(802 Commentaires)
8.1
celalaybar

Hello. I can help you with replacing preg_replace() with preg_replace_callback() in [login to view URL] file you have attached. We can discuss further details on chat.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(214 Commentaires)
7.1
shahid864

Hi, My name is Shahid, i am working in web development from past four years. Will provide you quality work and hopefully we will have long term relationship in web development. Let me know if i can help you. let's disc Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(542 Commentaires)
7.1
VileGnosis

I can repair all the preg_replace calls in your script. My average project completion time is within 3-5 hours on the same day. The skills I have include PHP, HTML5, CSS3, JavaScript, jQuery, WordPress Themes & Plugins Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(210 Commentaires)
6.8
metaexcel

Hello Sir, I am ready to fix your php version issue. I am ready to fix right now. Thanks

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(222 Commentaires)
6.6
ineedWorkJob

Greetings sir, I have read your project details and i will do the php modification on your file. Sir, i can deliver this project sooner than you expect and will be over your satisfaction level. Please continue Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(125 Commentaires)
6.6
indiainfosoft

Dear Employer, This is Ajay here.I've reviewed your requirement and I'm ready to work with you. I will provide quality work as well full support for any query. I'm giving you trust for good quality work. I have almos Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(203 Commentaires)
6.5
justTry

. . . . . . . . . . . . .. . . .. . .. . . . . . . . . . .

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(162 Commentaires)
6.0
ankitbagre2000

Hello, I'm Ankit I'm interesting your project very well I'm good in Website Design, HTHML, CSS , JAVASCRIT, JQUERY, AJAX, PHP and mysql expert. I’m quite well experienced in these jobs. Let's go ahead with me I wan Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(51 Commentaires)
5.9
shashankajal

Hi there, I am a PHP developer having more than 4+ years of experience Magento.I am providing services in website design and development in (PHP/WordPress/Codeigniter/Laravel/Joomla/Magento/Drupal) Technaologies. Co Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(89 Commentaires)
5.9
zMinion

Hi, I can help you with this right now. Will be done in just few minutes. Let's chat and start working Thanks

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(41 Commentaires)
5.7
deepgrewal9699

Hello Sir I can Replace Deprecated PHP function in only one php file as listed and deliver this in next 2 hours at max. I am ready to start right away. Please check my profile for work and experience. Regards Deep

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(146 Commentaires)
5.7
ozzy72

Hello, I am PHP coder and would like to fix your PHP script. My question: Are you sure that preg_replace is the only function to fix/update which is deprecated. There may other deprecated PHP functions within your PH Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(31 Commentaires)
5.3
lalit31parihar

Hi, I have gone through your description and got a pretty much idea of what you want. I can assure you that i can do this task. The skills and resources needed for this project are in my genes. I can assure you for a Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(48 Commentaires)
5.0
andrescoslop

Hello, I can adapt your php file from php version 5.4 to php version 5.6 You can check my profile and see my abilities, my certifications, and the comments of my employers.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(8 Commentaires)
4.8
dmitrysokolov308

@@@ QUALITY & INTIME & PERFECTLY @@@ [login to view URL] I am very interested in your project. I am confident of this project as I'm a professional PHP & MYSQL expert with over 10 years of experience. Please feel free to contact m Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(7 Commentaires)
4.4
custdeal

WEB Expert, Hi there, I have gone through your project detail and I have the Exact Match skills as per the current project you are looking now. >> Kindly let me know the current website URL ? I have 5+ years highly Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(24 Commentaires)
4.4
DesignPerfecti0n

Hello , best frontend and backend developer at your services , I have read your project details regarding Replace Deprecated PHP function in only one php file I am assure I'll provide you clean and optimized code whi Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(19 Commentaires)
4.6
webinfovista

Hello, I am ready to fix this one because I know how to fix preg_replace and I am well experienced on this. Lets do fix now. It will not take more than 1 hours. Thanks

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(30 Commentaires)
4.2
Yaserove

Hello I read your description carefully. I can bring you the perfect result as you want. I am an experienced web developer and designer with the depth knowledge related to PHP, Bootstrap, MySQL, JAVASCRIPT, jQuery, CSS Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(6 Commentaires)
4.0