FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Never log deprecation warnings
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Never log deprecation warnings [message #179041 is a reply to message #179040] Thu, 06 September 2012 17:56 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
Thomas 'PointedEars' Lahn wrote:
> Scott Johnson wrote:
>
>> On 9/6/2012 9:33 AM, The Natural Philosopher wrote:
>>> J.O. Aho wrote:
>>>> Of course the absolute simplest thing to do is to fix the PHP scripts,
>>>> have to agree with Thomas and Jerry on this one.
>>> yeah. One day I'll have to plough through mine and replace all the
>>>
>>> if ($_POST[....) with
>>> if (isset($_POST[...) && $_POST[...))
>>>
>>> and lower the error logs by a couple of hundred bytes a day.
>>>
>>> But meanwhile I think I'll make myself a coffee and a cheese sandwich.
>> 2 sugars and cream for me please.
>
> JFTR: Those are _not_ the kind of warnings the OP was talking about. The
> ones he means are caused by calls such as split(…), and are probably much
> larger in number. See for example <http://php.net/split> (DEPRECATED in
> favor of <http://php.net/preg_split>).
>
>

Thats when you write your OWN split() that calls preg_split()



> PointedEars


--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how format one date
Next Topic: Problem with PHP Driver Authentication
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 10:25:57 GMT 2024

Total time taken to generate the page: 0.04772 seconds