Results 1 to 9 of 9
Thread: DEPRECATED Function in PHP
-
04-01-2011, 10:15 AM #1Temporarily Suspended
- Join Date
- May 2008
- Location
- India
- Posts
- 198
DEPRECATED Function in PHP
Recently one of our customer contacted us that, that he is facing issue in one of his PHP funcation "split()" in his shared hosting account he have with us.
We replied him that this function is deprecated by PHP and no more in use (Ref: http://php.net/manual/en/function.split.php ).
Now the customer demanded that he and other customer should get notification for hosting provided about all this kind of update.
Now our question is: is it fair to update all the customer about each version deprecated function to all customer for all type of languages ?
We do update on major version update in our forum but sending mail for each function will be a issue for some customer.
WHT experts ? your feedback is required.
-
04-01-2011, 10:21 AM #2Disabled
- Join Date
- Jan 2008
- Location
- United Kingdom
- Posts
- 222
We only inform our customers when it comes to major PHP updates, not something like this.
I would never in a million years inform customers of each PHP update. that would become a nightmare, and a job on it's own.
They should always look after it themselves, and have said script/website using such old fucs updated so there's no issues.
-
04-01-2011, 10:25 AM #3Temporarily Suspended
- Join Date
- May 2008
- Location
- India
- Posts
- 198
Yes same thing we explained it to the customer, but customer said a USA based company do this and because you are from India you ignore things.
I was wondering if some or any company give this kind of update, In my 9 year of experience we never came across this kind of question. So i though to put up this query over here and take feedback from other hosting company and if they think we should update customer on every depreciated function ?
-
04-01-2011, 10:29 AM #4Web Hosting Master
- Join Date
- Feb 2006
- Location
- Kusadasi, Turkey
- Posts
- 3,379
No, no one informs a customer for every deprecated function. Just point the customer to this thread and he can ask for opinions if he wants to.
Unrelated, I don't recommend php 5.3 series for shared hosting because a lot of functions have changed or deprecated since 5.2, and these types of problems are going to be a problem until many of the scripts are updated.█ Fraud Record - Stop Fraud Clients, Report Abusive Customers.
█ Combine your efforts to fight misbehaving clients.
█ HarzemDesign - Highest quality, well designed and carefully coded hosting designs. Not cheap though.
█ Large and awesome portfolio, just visit and see!
-
04-01-2011, 10:30 AM #5Disabled
- Join Date
- Jan 2008
- Location
- United Kingdom
- Posts
- 222
Whoever the customer was talking about must have way to much times on their hands to do this. this is my own thought though.
But from my end, no you should not be required to inform customers of each depreciated function, I am sure you would rather have that time spent informing them spent elsewhere ?
Lisa
-
04-02-2011, 04:23 PM #6Junior Guru Wannabe
- Join Date
- Dec 2010
- Posts
- 35
PHP is pretty good about leaving a function usable for few releases and anyone who regularly follows PHP happenings would know that split was gonna go.
He may just be letting off steam. Maybe recommend him too a few blogs or something that would help him keep up on PHP updates.||| Open Door Hosting- Professional Web Hosting
||| Affordable Hosting - Located in the U.S.A
||| Unmatched Support - Secure Servers
"Opening the door for Your Business"
-
04-02-2011, 04:44 PM #7Lord of live chats
- Join Date
- Jul 2009
- Location
- UK
- Posts
- 1,312
While I dont run a hosting company, I wouldn't expect my host to tell me nor would I tell anyone if I were a hosting company.
If they want to stay up to date with the versions and what is being removed and what isnt, Then I would suggest to them to read the php website.
I would also then advise them to just update their code.
Tbh, if they run linux, this is a 2 second job by finding and replacing..
Either replace split with preg_split() or use explode()
In 99.9 of cases a simple find replace for split and turning into preg_split will do it.Live Chat Support Software for your Business website - IMsupporting.com
-
04-05-2011, 01:50 AM #8Webhosting Professional
- Join Date
- Jun 2001
- Location
- Gotham City
- Posts
- 1,852
Too much time on their hands is correct.
We run both a webhosting company and a development company. Whenever the PHP version gets a major update we simply provide a link to our customers to the list of changes in that revision (which is on the PHP website).
At the same time from a developers point of view, I'd expect our staff to be completely updated on PHP and know whats depreciated and whats not, otherwise you really aren't much of a developer. I certainly wouldn't go off on the webhosting company.
Of course *not* informing your customers about an update is completely unacceptable.[[ Reyox Communications / USA based cloud servers & support / 9 years of hosting websites ]]
[[ Affordable ASP.NET4, ColdFusion, PHP & MS-SQL, MySQL, cPanel/WHM & Windows Reseller Hosting + Virtual Private Servers ]]
(www.reyox.com) - Mention WHT and get a discount on your first month!
-
04-06-2011, 03:37 AM #9Junior Guru Wannabe
- Join Date
- Jan 2004
- Location
- Lakewood, NJ
- Posts
- 93
We had this issue and we set up a VPS. If some one codes in PHP they should be up to date with it. Any customer can run phpinfo to see what you are running. They also should of had plenty of notice before it was depreciated. It's nice to tell them but I don't think it's a must.
Similar Threads
-
Is there a magic function/trick in PHP to get the function name of the calling func?
By grabmail in forum Programming DiscussionReplies: 1Last Post: 03-15-2006, 02:19 AM -
JavaScript to PHP, or equivalent PHP function?
By MGCJerry in forum Programming DiscussionReplies: 4Last Post: 02-07-2006, 10:10 PM -
rpm -ta Deprecated?
By daveman in forum Hosting Security and TechnologyReplies: 5Last Post: 11-07-2004, 12:26 AM -
[PHP] Problem sending many emails with PHP Mail Function
By Barti1987 in forum Programming DiscussionReplies: 7Last Post: 10-03-2004, 10:24 AM -
[PHP] 'flock' function in PHP not working
By keyDet79 in forum Hosting Security and TechnologyReplies: 0Last Post: 12-05-2003, 10:51 PM