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

Home » Imported messages » comp.lang.php » Why don't I get a deprecation warning?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Why don't I get a deprecation warning? [message #170626 is a reply to message #170625] Thu, 11 November 2010 21:56 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 11/11/2010 4:14 PM, Roy Smith wrote:
> I'm running:
>
> PHP 5.3.2-1ubuntu4.5 with Suhosin-Patch (cli) (built: Sep 17 2010
> 13:49:46)
> Copyright (c) 1997-2009 The PHP Group
> Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
> with XCache v1.3.0, Copyright (c) 2005-2009, by mOo
>
> I have a little test file which contains just:
>
> <?php
> $matches = array();
> preg_match('/pattern/', 'string',&$matches);
> ?>
>
> I was expecting when I run it (with "php try.php"), I would get a
> deprecation warning about the call-time pass by reference. I don't.
>
> I get the deprecation warning from similar code (which is part of a
> large application) when run under apache. Why don't I get the warning
> when I run this test case on the command line?
>
>

What are error_reporting and display_errors set to in your php.ini file?
(Check phpinfo() to be sure.)

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ANNOUNCE: NHI1-0.9, PLMK-1.7 und libmsgque-4.7
Next Topic: where else can this list be found?
Goto Forum:
  

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

Current Time: Sun Nov 24 20:55:55 GMT 2024

Total time taken to generate the page: 0.03964 seconds